Game Dev Cheat Sheet

Frame Budget Calculator for Game Performance

See exactly how many milliseconds you have per frame. Every system in your game competes for the same budget.

Every frame in your game has a fixed time budget. At 60 FPS, you have 16.67 milliseconds to run all game logic, physics, rendering, and audio before the next frame is due. Exceeding this budget causes frame drops and stuttering. This calculator breaks down how to allocate that budget across your game's systems.

Target FPS:
Custom:

16.67 ms per frame

at 60 FPS
3.3ms
2.5ms
6.7ms
1.7ms
1.7ms
Game Logic3.33 ms20%AI, state machines, spawning, inventory
Physics2.50 ms15%Collision, raycasts, rigidbody simulation
Rendering6.67 ms40%Draw calls, shaders, post-processing, shadows
Audio0.83 ms5%Mixing, spatial audio, DSP effects
UI1.67 ms10%Canvas rebuilds, layout, text rendering
Engine Overhead1.67 ms10%GC, engine internals, input, vsync

Platform Reference

What is Eating Your Budget?

Common causes of frame budget overruns and how to fix them.