sub·​rou·​tine | \ ˈsəb-(ˌ)rü-ˌtēn How to pronounce subroutine (audio) \

Definition of subroutine

: a subordinate routine specifically : a sequence of computer instructions for performing a specified task that can be used repeatedly

Examples of subroutine in a Sentence

Recent Examples on the Web The Split-or-Johnson procedure contained a recursive step, in which a certain subroutine split the problem into two smaller pieces and then called itself to run again on the smaller pieces. Quanta Magazine, "Graph Isomorphism Vanquished — Again," 14 Jan. 2017 For example, there’s a subroutine that smooths the movement of the stick figures so the dancers don’t jerk about too much, and a completely separate neural network dedicated to re-tracing the target’s face to ensure realism. James Vincent, The Verge, "Deepfakes for dancing: you can now use AI to fake those dance moves you always wanted," 26 Aug. 2018 Each agent is an autonomous subroutine that responds in reasonably human ways to other agents and the evolving disaster by switching among multiple modes of behavior—for example, panic, flight, and efforts to find family members. M. Mitchell Waldrop, Science | AAAS, "What if a nuke goes off in Washington, D.C.? Simulations of artificial societies help planners cope with the unthinkable," 12 Apr. 2018

These example sentences are selected automatically from various online news sources to reflect current usage of the word 'subroutine.' Views expressed in the examples do not represent the opinion of Merriam-Webster or its editors. Send us feedback.

See More

First Known Use of subroutine

circa 1946, in the meaning defined above

History and Etymology for subroutine

International Scientific Vocabulary

Keep scrolling for more

Learn More about subroutine

Time Traveler for subroutine

Time Traveler

The first known use of subroutine was circa 1946

See more words from the same year

Statistics for subroutine

Cite this Entry

“Subroutine.” Dictionary, Merriam-Webster, Accessed 30 May. 2020.

Keep scrolling for more

More Definitions for subroutine


How to pronounce subroutine (audio)

English Language Learners Definition of subroutine

computers : a set of computer instructions that performs a particular task, that is part of a larger computer program, and that can be used repeatedly

More from Merriam-Webster on subroutine

Rhyming Dictionary: Words that rhyme with subroutine

Comments on subroutine

What made you want to look up subroutine? Please tell us where you read or heard it (including the quote, if possible).


See Definitions and Examples »

Get Word of the Day daily email!

Test Your Vocabulary

May 2020 Words of the Day Quiz

  • a blooming wisteria tree
  • Which is a synonym of exiguous?
Spell It

Can you spell these 10 commonly misspelled words?

Bee Cubed

Test Your Knowledge - and learn some interesting things along the way.

Love words? Need even more definitions?

Subscribe to America's largest dictionary and get thousands more definitions and advanced search—ad free!