How many lines of code are in a modern AAA video game?
Gaming hard Data from 2023
Guess before you scroll — the answer is below
The answer
20,000,000 lines
Roughly 20M.
A modern AAA game runs to roughly 20 million lines of code, comparable to a car’s software or a commercial airliner’s. Most of it is not gameplay: engines, tooling, physics, netcode and platform certification requirements dominate.
Where this number comes from
| Source | Developer postmortems reported in the games press |
|---|---|
| Figure refers to | 2023 |
| Last checked | |
| Unit | lines |
Numbers move. If this one has drifted from its source, let us know.
Think you can do better?
Five fresh questions every day. No account needed.
Related questions
- What is the Rubik’s Cube world record, in seconds?
- How many minutes is the Super Mario Bros speedrun world record?
- How many hours does an average Elden Ring playthrough take?
- How many hours does it take to complete a Pokémon game’s Pokédex?
- How many hours does it take to fully complete The Witcher 3?
- How many hours did the longest recorded Monopoly game last?