Model execution growth using logs powers and exponentials. Review values sample ranges and trend plots. Save outputs for study reports or quick checking later.
Example settings: linear model, a = 0.02 ms, c = 0.10 ms, r = 1.
| n | g(n) | Runtime (ms) |
|---|---|---|
| 10 | 10 | 0.30 |
| 25 | 25 | 0.60 |
| 50 | 50 | 1.10 |
| 100 | 100 | 2.10 |
Main runtime formula: T(n) = r × (c + a × g(n))
| Model | g(n) | Complexity |
|---|---|---|
| Constant | 1 | O(1) |
| Logarithmic | logb(n) | O(log n) |
| Linear | n | O(n) |
| Linearithmic | n · logb(n) | O(n log n) |
| Polynomial | np | O(np) |
| Quadratic | n2 | O(n2) |
| Cubic | n3 | O(n3) |
| Exponential | bn | O(bn) |
It estimates runtime using a chosen growth model, a scaling coefficient, fixed overhead, repetitions, and input size. It helps compare how execution time changes as n grows.
No. It is a mathematical estimate. Real runtime also depends on hardware, memory, language implementation, input structure, and system load.
Use polynomial when your runtime follows n raised to a custom power, such as n^1.5, n^2.2, or another measured exponent from analysis.
Overhead is the fixed time added to each run. It represents setup cost, constant checks, loading, or any runtime that does not grow with n.
The base defines the curve shape. Logarithmic base changes the growth scale. Exponential base changes how rapidly runtime explodes as n increases.
Exponential functions grow extremely fast. Even small increases in n can produce massive runtime estimates. That behavior is normal for exponential complexity.
The calculator converts the final estimate into nanoseconds, microseconds, milliseconds, and seconds. This helps you interpret the same result in practical units.
Yes. The table, graph, formula section, and export tools make it useful for study notes, algorithm discussions, and runtime comparison writeups.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.