Vector Magnitude Calculator — L1, L2 & L∞ Norms
Compute vector magnitude for 2D to 6D vectors using L1 (Manhattan), L2 (Euclidean), L∞ (Chebyshev), and custom Lp norms with unit vector, component contribution bars, and norm comparison.
Determine the order of magnitude of any number, convert to scientific notation, compare magnitudes, see the SI prefix region, and explore a logarithmic scale with real-world examples.
Position between consecutive powers of 10 (logarithmic interpolation)
| Power | Value | Relative to Input |
|---|---|---|
| 10^5 | 1.00e+5 | 2,997.9246× |
| 10^6 | 1.00e+6 | 299.7925× |
| 10^7 | 1.00e+7 | 29.9792× |
| 10^8 | 1.00e+8 | 2.9979× |
| 10^9 | 1.00e+9 | 0.2998× |
| 10^10 | 1.00e+10 | 0.0300× |
| 10^11 | 1.00e+11 | 0.0030× |
| Exponent | Prefix | Real-world Example | |
|---|---|---|---|
| 10^-24 | yocto (y) | neutrino mass ≈ 1e-24 eV | |
| 10^-18 | atto (a) | quark size ≈ 1e-18 m | |
| 10^-15 | femto (f) | proton diameter ≈ 1e-15 m | |
| 10^-12 | pico (p) | wavelength of X-ray | |
| 10^-9 | nano (n) | DNA helix width ≈ 2 nm | |
| 10^-6 | micro (μ) | red blood cell ≈ 7 μm | |
| 10^-3 | milli (m) | ant length ≈ 1–2 mm | |
| 10^0 | (base) | 1 meter, 1 gram, 1 second | |
| 10^3 | kilo (k) | 1 km, 1 kg | |
| 10^6 | mega (M) | 1 million, 1 MW | |
| 10^9 | giga (G) | 1 billion, 1 GHz | ← you |
| 10^12 | tera (T) | 1 trillion, 1 TB | |
| 10^15 | peta (P) | global internet traffic/month | |
| 10^18 | exa (E) | grains of sand on Earth ≈ 7.5e18 | |
| 10^24 | yotta (Y) | mass of Earth ≈ 6e24 kg |
| Concept | Description |
|---|---|
| Order of magnitude | The integer part of log₁₀(|x|) — which power of 10 the number is closest to |
| Scientific notation | m × 10ⁿ where 1 ≤ m < 10 |
| Comparing magnitudes | Difference in orders = log₁₀(a/b) — each order is a 10× difference |
| Decibels (dB) | 10 × log₁₀(P₁/P₂) or 20 × log₁₀(V₁/V₂) — logarithmic ratio scale |
| Richter scale | Each whole number is 10× the amplitude and ~31.6× the energy |
| pH scale | pH = −log₁₀[H⁺] — each unit is 10× the hydrogen ion concentration |
The order of magnitude of a number is the power of 10 closest to (or bounding) that number. Formally, for a positive number x, the order of magnitude is floor(log₁₀(x)). This single integer tells you the "scale" of a quantity: a distance of 384,400 km (Earth to Moon) has order 5 in kilometers (10⁵), while a hydrogen atom diameter of about 1.2 × 10⁻¹⁰ m has order −10.
Orders of magnitude are the language of estimation, dimensional analysis, and Fermi problems. Scientists and engineers routinely ask "are these two quantities the same order of magnitude?" because a difference of one order means a factor of 10 — often the boundary between feasible and impractical, or between detectable and noise.
This calculator takes any number (including scientific notation like 6.022e23) and shows its order of magnitude, log₁₀, scientific notation with mantissa, the nearest and next powers of 10, and where the number sits on the logarithmic scale between those powers. You can compare two values to see how many orders of magnitude apart they are and what their ratio is.
Eight presets cover iconic numbers: the speed of light, Avogadro's number, Boltzmann's constant, Earth's radius, and more. A neighborhood table shows seven consecutive powers of 10 centered on your number, and a comprehensive SI prefix chart — from yocto (10⁻²⁴) to yotta (10²⁴) — places your value in context with real-world examples at every scale.
Understanding orders of magnitude helps with unit conversions, Fermi estimation, interpreting logarithmic scales (decibels, Richter, pH), and quickly sanity-checking calculations in any quantitative field.
Quickly placing a number on the powers-of-10 scale is essential for Fermi estimation, unit checking, and comparing vastly different quantities. This calculator takes any number (including scientific notation), returns its order of magnitude, log₁₀, SI prefix, and scientific notation, and compares two numbers with a neighborhood table of surrounding powers plus a full SI prefix chart. It is a practical way to build intuition for scales ranging from subatomic to astronomical.
Order = floor(log₁₀(|x|)); Scientific notation: x = m × 10ⁿ (1 ≤ m < 10)Result: Order = 8 (10⁸), 2.9979 × 10⁸
log₁₀(299792458) ≈ 8.4768. floor(8.4768) = 8. Mantissa = 2.9979. The speed of light is on the order of 10⁸ m/s, in the "hundreds of millions" range.
Every positive number x can be written as x = m × 10ⁿ where 1 ≤ m < 10 (the mantissa) and n is an integer (the exponent). The **order of magnitude** is floor(log₁₀(|x|)), rounding down to the nearest power of 10. Numbers with the same order of magnitude are within a factor of 10 — close enough for many estimation purposes. Scientific notation is the standard representation in physics, chemistry, and engineering precisely because it separates scale (the exponent) from precision (the mantissa).
The International System of Units defines prefixes from yocto (10⁻²⁴) to yotta (10²⁴), each spanning three orders of magnitude. Knowing that nano- means 10⁻⁹ and giga- means 10⁹ lets you convert between nanometers and meters or gigabytes and bytes. The prefix system is a practical application of orders of magnitude: it replaces long strings of zeros with a single letter, reducing errors and improving readability in scientific and engineering contexts.
A **Fermi estimate** seeks the right order of magnitude for a quantity — not the exact value but whether the answer is thousands, millions, or billions. This skill is prized in physics, consulting, and tech interviews. Logarithmic scales (decibels for sound, Richter for earthquakes, pH for acidity) are built on orders of magnitude: each unit increase represents a tenfold (or other fixed-ratio) change. Training yourself to think in orders of magnitude enables quick sanity checks, prevents off-by-1000 errors, and builds intuition for quantities spanning the observable universe.
Last updated:
It is the power of 10 that approximates a number. Technically, it is floor(log₁₀(|x|)). For example, 500 has order 2 because 10² = 100 ≤ 500 < 1000 = 10³.
Subtract the orders. If two values differ by n orders, one is roughly 10ⁿ times the other. The speed of light (10⁸ m/s) is 5 orders of magnitude larger than the speed of sound (10³ m/s).
A way of writing numbers as m × 10ⁿ where 1 ≤ m < 10. It makes very large or very small numbers readable and highlights the order of magnitude directly.
Standard metric prefixes for powers of 10: kilo (10³), mega (10⁶), giga (10⁹), etc. for large; milli (10⁻³), micro (10⁻⁶), nano (10⁻⁹), etc. for small.
An estimation technique that aims to get the correct order of magnitude through rough approximations and back-of-the-envelope calculations, named after physicist Enrico Fermi.
Many natural phenomena span huge ranges. Logarithmic scales (dB, Richter, pH, stellar magnitude) compress these ranges into manageable numbers where each unit represents a multiplicative factor.
Compute vector magnitude for 2D to 6D vectors using L1 (Manhattan), L2 (Euclidean), L∞ (Chebyshev), and custom Lp norms with unit vector, component contribution bars, and norm comparison.
Compute Frobenius, spectral, 1-norm, infinity-norm, and max-norm of a matrix with comparison bars, relationship verification, and breakdown tables.
Compute the determinant for 2×2 through 5×5 matrices with cofactor expansion steps, minor matrix display, term contribution bars, and comprehensive properties table.