Skip to content

Glossary

The algorithm

“The algorithm” is the set of systems that pick and order what each person sees. It predicts what you’ll watch, like or share, then ranks by it.

  • In progress
  • Sourced

Ask AI about this guide

Opens your assistant with this guide already loaded, so you can ask how it applies to you.

Share this guide

The algorithm

GlossaryThe algorithm

It is not one formula. Platforms describe a pipeline: gather thousands of possible posts, predict how likely you are to engage with each, then rank and mix them. YouTube, TikTok, Instagram and X have all published explainers or code describing these steps.

The practical point: it reacts to viewer behavior on your content, not to tricks like posting at a magic hour or using a set number of hashtags.

Example

A simplified version of how X described scoring a post in its open-sourced code:

Chance you’ll like it × weight
small
Chance you’ll reply × weight
larger
Chance you’ll report it × weight
large and negative
Sum
The post’s score for you

Predicted reactions, weighted by how much the platform values them. That is the core idea on every app.

Go deeper

Related terms

Also called social media algorithm, feed algorithm.

Sources

  1. TikTok Newsroom, How TikTok recommends videos #ForYou
  2. Instagram, Instagram Ranking Explained
  3. YouTube Official Blog, On YouTube’s recommendation system
  4. GitHub: twitter/the-algorithm-ml, Heavy ranker (recap) README

Examples are worked math to show the idea, not quotes from a real deal. Not legal, tax or financial advice. Spotted something wrong? Tell us.