ONLINEAGENT_OPS 2026.Q3 HOME HUBSMODELSBUILDINGCOMPANIESFILMMAKINGSECURITYLIVING WITH ITSKILLSALL HUBS, ONE TERMINAL → ARTICLES CRAFT RECORD BLOG TOOLS SKILLS SEARCH /
HOME›AI MEANINGS›WHAT IS AN ALGORITHM?
AI MEANINGS · MEANINGBEGINNER

What is an algorithm? A step-by-step recipe for a computer

An algorithm is a set of step-by-step instructions a computer follows. In AI it trains the model; on social media, it picks what you see next.

READ5 min
WORDS1,004
SECTIONS7
TYPEMEANING
CHECKED1 OCT 26

Algorithm means a set of step-by-step instructions a computer follows to get a result, like a recipe. In AI, algorithms are the methods used to train a model from data; on social media, “the algorithm” is the system that picks which posts and videos you see.

◈ IN PLAIN TERMS

A recipe is an algorithm for a cake: exact steps, in order, that turn ingredients into a result. In AI, the training algorithm is the recipe, the data is the ingredients, and the finished model is the cake.

In a sentence: “My feed is all cooking videos now; I watched three last week and the algorithm decided that’s all I want.”

What the word means

The plain point: any clear list of steps that reaches a result is an algorithm. It does not have to involve AI at all.

NIST, the US government’s standards agency, defines it in nine words: “A computable set of steps to achieve a desired result.”1 The word itself is old. NIST traces it to a Persian scholar, al-Khwarizmi, who wrote a book of arithmetic rules around the year 825.1

A simple example: sorting a pile of exam papers by surname, one paper at a time, is an algorithm. So are the steps a sat-nav uses to find the quickest route.

Where the word comes from

It is named after a person. The American Heritage Dictionary traces it to the ninth-century mathematician Muhammad ibn Musa al-Khwarizmi, through the older English word “algorism”, meaning arithmetic with Arabic numerals; the spelling was probably nudged by the word “arithmetic”.2 In English the “algorithm” spelling is first recorded around 1690–1700.3

In AI: the algorithm trains the model

The plain point: the algorithm is the learning method; the model is what comes out.

IBM, the computer company, describes a machine-learning algorithm as the set of steps used to train a model.4 Once trained, the model is what you actually use, for example when a chatbot answers you. See machine learning meaning.

WHO WRITES THE STEPS · ORDINARY SOFTWARE VS MACHINE LEARNING
Both run on algorithms. Only one learns from examples.
ORDINARY SOFTWARE
Note: A person writes every step.
No: Learns from examples
Note: Example: a calculator.
MACHINE LEARNING
Note: A person writes the learning steps.
Yes: Learns from examples
Note: The trained model works out the rest, e.g. a chatbot.
Reasoning, 1 Oct 2026 — summarises this page’s section on how the algorithm trains the model (IBM) and its takeaway.
TAKEAWAY

With ordinary software, a person writes every step. With machine learning, a person writes the learning steps, and the model works out the rest from examples.

“The algorithm” in your feed

The plain point: when people blame “the algorithm”, they mean the system that chooses what an app shows you next.

YouTube’s own help page lists what its recommendations learn from: what you watch, search for, subscribe to, like, and mark as “not interested”.5

  • Your clicks steer it. What you watch and like tells it what to show more of.
  • You have some controls. YouTube says you can turn off and delete your watch history.5
  • It shows you more of what you already chose. If your feed feels narrow, searching for and watching something different gives it new signals.

Often confused with

  • AI model: the trained result, not the method. See AI model meaning.
  • AI itself: every computer program runs on algorithms, but most are not AI. A calculator follows an algorithm and learns nothing. See artificial intelligence meaning.
  • A neutral judge: an algorithm follows the steps and data it was given, so its results reflect those choices. See AI bias meaning.

Questions people ask

Is an algorithm the same as AI?

No. Every computer program follows algorithms, including a calculator. In AI, algorithms are the step-by-step methods used to train a model, and the model is what does the answering.4

How do I change what the algorithm shows me?

Tell it directly. On YouTube, for example, marking a video “Not interested” feeds into what it avoids, and you can pause or delete your watch history.5 Other apps have their own controls; look in their settings.

Learn more on this site

QUICK CHECK · 3 QUESTIONS

Pick an answer to see if you got it. Nothing is recorded.

1. What is an algorithm?

  • A set of step-by-step instructions to get a result, like a recipe
  • A kind of computer screen
  • Any program that uses AI
Show the answer

Answer: A set of step-by-step instructions to get a result, like a recipe. An algorithm is a clear list of steps that reaches a result, like a recipe, and it does not have to involve AI.

2. In AI, how does the algorithm relate to the model?

  • The model writes the algorithm
  • The algorithm is the learning method; the model is what comes out
  • They are two words for the app
Show the answer

Answer: The algorithm is the learning method; the model is what comes out. The training algorithm is the recipe and the finished model is the cake: the method versus what it produces.

3. How can you change what a feed’s algorithm shows you?

  • Restart your phone every day
  • Nothing can change what it shows
  • Watch, search for and mark things differently, since your clicks steer it
Show the answer

Answer: Watch, search for and mark things differently, since your clicks steer it. The page says your clicks steer it, so watching, searching for and marking things differently gives it new signals.

Related terms: Agent · AI model · Artificial intelligence (AI) · Chatbot / AI chatbot · Deep learning · Token

SOURCES
  1. 1NIST, algorithm, Dictionary of Algorithms and Data Structures, entry modified 9 Nov 2020, read at source 1 Oct 2026“A computable set of steps to achieve a desired result.” ↑a“The word comes from the Persian author Abu Ja’far Mohammed ibn Mûsâ al-Khowârizmî who wrote a book with arithmetic rules dating from about 825 A.D.” ↑b
  2. 2American Heritage Dictionary, algorithm, dictionary entry and word history, read at source 12 Oct 2026“[Variant (probably influenced by ARITHMETIC) of ALGORISM.]” “Algorism, the English word for computation with Arabic numerals, is derived from Al-Khwarizmi’s name.” ↑
  3. 3Dictionary.com, algorithm, dictionary entry, read at source 12 Oct 2026“First recorded in 1690–1700; variant of algorism” ↑
  4. 4IBM, Machine Learning Algorithms, 18 Sep 2025, read at source 1 Oct 2026“A machine learning algorithm is a defined set of steps used to train a machine learning model so that it can make useful predictions in its real-world use case.” ↑a“A machine learning algorithm is a defined set of steps used to train a machine learning model so that it can make useful predictions in its real-world use case.” ↑b
  5. 5YouTube, How YouTube recommendations work, undated help page, read at source 1 Oct 2026“Watch history: The YouTube videos you’ve watched help to give you better recommendations” … “‘Not interested’ feedback selections: Videos you mark as ‘Not interested’ helps to inform what to avoid”. ↑a“You can turn off and delete your watch history if you don’t prefer to have video recommendations on the homepage.” ↑b“Watch history: The YouTube videos you’ve watched help to give you better recommendations” … “‘Not interested’ feedback selections: Videos you mark as ‘Not interested’ helps to inform what to avoid”. ↑c

NIST, algorithm, Dictionary of Algorithms and Data Structures, entry modified 9 Nov 2020, read at source 1 Oct 2026.

The comparisons on this page (a recipe and a cake, sorting exam papers, a sat-nav, a calculator) are this site’s own ways of explaining, not claims from these sources.

Free printable AI cheat sheets, and AI news every week.

Sixteen one-page AI guides and checklists in one free PDF, no sign-up. And if you want to keep up, the newsletter covers what changed in AI each week, in plain English, with the sources.

SUBSCRIBE FREE ↗ GET THE CHEAT SHEET PACK
aipromptgeneer://$ about this siteAI PROMPT GENEERAI explained in plain English. Every claim links to its source, with the date it was checked.NEWSLETTERWhat changed in AI each week, in plain English.SUBSCRIBE FREE ↗AI PROMPT GENEER · MACHINE ASSISTANCE DISCLOSEDEVERY ARTICLE CARRIES ITS OWN CHECKED DATE