Algorithm Complexity Calculator
Compare algorithm complexities. See how different Big-O classes scale with input size and estimate runtime.
7.5Kuses
9/10(295)
For n = 1,000
O(n)
1.0K ops(<1ms)
O(n log n)
10.0K ops(<1ms)
O(n^2)
1.0M ops(1ms)
| n | O(n) | O(n log n) | O(n^2) |
|---|---|---|---|
| 10 | 10 | 33 | 100 |
| 100 | 100 | 664 | 10.0K |
| 1,000 | 1.0K | 10.0K | 1.0M |
| 10,000 | 10.0K | 132.9K | 100.0M |
| 100,000 | 100.0K | 1.7M | 10.0B |
| 1,000,000 | 1.0M | 19.9M | 1000.0B |
Features
- Compare multiple complexity classes
- Operations count and time estimation
- Configurable input size and processor speed
- 100% client-side
⚡ Pro OptionsSponsored
Some links on this page are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you.
Recommended Products
Ad⌨️Mechanical KeyboardsShop →🖥️Developer MonitorsShop →🪑Standing DesksShop →🎧Noise Cancelling HeadphonesShop →📷WebcamsShop →💻Laptop StandsShop →🖱️Wireless MouseShop →🔌USB-C HubShop →👓Blue Light GlassesShop →🖥️Desk PadShop →
Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.
Disclaimer: This tool is provided as-is for informational and educational purposes only.