Dictionary.com
Thesaurus.com
Synonyms

algorithm

American  
[al-guh-rith-uhm] / ˈæl gəˌrɪð əm /

noun

algorithms plural
  1. Mathematics. a set of rules for solving a problem in a finite number of steps, such as the Euclidean algorithm for finding the greatest common divisor.

  2. Computers. an ordered set of instructions recursively applied to transform data input into processed data output, such as a mathematical solution, search engine result, descriptive statistics, or predictive text suggestions.


algorithm British  
/ ˈælɡəˌrɪðəm /

noun

  1. a logical arithmetical or computational procedure that if correctly applied ensures the solution of a problem Compare heuristic

  2. logic maths a recursive procedure whereby an infinite sequence of terms can be generated

"Collins English Dictionary — Complete & Unabridged" 2012 Digital Edition © William Collins Sons & Co. Ltd. 1979, 1986 © HarperCollins Publishers 1998, 2000, 2003, 2005, 2006, 2007, 2009, 2012

algorithm Scientific  
/ ălgə-rĭth′əm /
  1. A finite set of unambiguous instructions performed in a prescribed sequence to achieve a goal, especially a mathematical rule or procedure used to compute a desired result. Algorithms are the basis for most computer programming.


algorithm Cultural  
  1. A set of instructions for solving a problem, especially on a computer. An algorithm for finding your total grocery bill, for example, would direct you to add up the costs of individual items to find the total.


Usage

What is an algorithm? An algorithm is a set of instructions or rules that can be followed to solve a problem. Algorithms are most commonly used in mathematics and computing, and they can often be very complex or have many steps or sets of instructions. For example, your teacher asks you to add 537 and 162. You might solve the problem by lining up 162 under 537 and adding the columns of numbers together. You add the 7 and 2 in the ones column to get 9, Next, you add the numbers in the tens column (3 and 6) to get 9. Finally, you add 5 and 1 in the hundreds column and get 6. Your answer, then, is 699. You have followed an addition algorithm to find the solution. In computing, a computer coder will create a set of instructions (the algorithm) that a computer or artificial intelligence will use to solve a problem or will consult in order to achieve a goal. Let’s say you spend the day watching Star Wars videos on YouTube. With each video you watch, the website will recommend other videos it thinks you will like. How does it know what you like? It runs an algorithm that finds videos that are similar to the ones you’ve already watched. If Darth Vader shows up in a video of a car commercial, YouTube will likely recommend it to you to watch because Vader was in a lot of the Star Wars videos you’ve already watched.

Other Word Forms

Derived Forms

Inflected Forms

Nouns

Etymology

Origin of algorithm

First recorded in 1690–1700; variant of algorism ( def. ), by association with Greek arithmós “number”; see arithmetic ( def. )

Explanation

Whether you are doing simple multiplication or a complicated calculus problem, you must use a predetermined set of rules, called an algorithm, to solve it. An algorithm includes a finite number of steps to solve any given problem. The word algorithm has an unusual backstory. It seems the 9th Century Persian mathematician Al-Khwārizmī wrote about calculations, and when his work was translated into Latin 300 years later, his name was somehow incorporated into the name of the process as Algoritmi. This got confused with the Greek word for number, arithmos, leading to the evolution of the word as we know it. It's a mish-mash, ironic for a word that stands for a rather rigid set of rules.

Keep Reading on Vocabulary.com

Vocabulary lists containing algorithm

Example Sentences

Examples are provided to illustrate real-world usage of words in context. Any opinions expressed do not reflect the views of Dictionary.com.

See Examples For:

“To an algorithm, a gun barrel and a piece of pipe are the same grooved cylinder,” Jakub Kmošek, head of public affairs at Prusa, said in a statement to The Times.

From Los Angeles Times Jul. 19, 2026

No one has yet curated the perfect user base or algorithm to map people’s feeds exactly onto the preferences of the country, or even Maine primary voters.

From Slate Jul. 14, 2026

A specialized algorithm selected the most promising candidates, which were then analyzed using detailed quantum calculations to determine whether they could become superconductors.

From Science Daily Jul. 7, 2026

He said Instagram's algorithm was designed to keep users on the platform by showing them "something more extreme, more tantalising".

From BBC Jul. 3, 2026

Furthermore, the algorithm would seek out a classroom full of students who performed far better than their past scores would have predicted and who then went on to score significantly lower the following year.

From "Freakonomics: A Rogue Economist Explores the Hidden Side of Everything" by Steven D. Levitt

Back in Minnesota, Smith is content to let Schwab’s algorithms handle his Roth IRA while he travels.

From MarketWatch Jul. 14, 2026

Sites must also consider how their algorithms – the computer code which recommends new content to users – could be harmful to young people and mitigate any risks.

From BBC Jul. 13, 2026

Apple has said that its App Store relies on algorithms and expert curation and doesn’t suppress rivals.

From The Wall Street Journal Jul. 12, 2026

"There's no AI autonomous algorithms ever capable to handle that safely."

From Barron's Jul. 10, 2026

Elementary schools by and large do manage to teach the basic algorithms for multiplication and division, addition and subtraction, as well as methods for handling fractions, decimals, and percentages.

From "Innumeracy: Mathematical Illiteracy and Its Consequences" by John Allen Paulos

Vocabulary.com logo
by dictionary.com

Dictionary.com's Learning Companion

Go beyond just looking up words.
Remember them forever with VocabTrainer.

Start training