SI prefix reference
Yotta (10²⁴) to yocto (10⁻²⁴) with a live unit converter. Type any number in any prefix and see it expressed in every other prefix.
| Symbol | Name | Power | Factor |
|---|---|---|---|
| yotta | 10^24 | 1000000000000000000000000 | |
| zetta | 10^21 | 1000000000000000000000 | |
| exa | 10^18 | 1000000000000000000 | |
| peta | 10^15 | 1000000000000000 | |
| tera | 10^12 | 1000000000000 | |
| giga | 10^9 | 1000000000 | |
| mega | 10^6 | 1000000 | |
| kilo | 10^3 | 1000 | |
| hecto | 10^2 | 100 | |
| deca | 10^1 | 10 | |
| (base) | 10^0 | 1 | |
| deci | 10^-1 | 0.1 | |
| centi | 10^-2 | 0.01 | |
| milli | 10^-3 | 0.001 | |
| micro | 10^-6 | 0.000001 | |
| nano | 10^-9 | 0.000000001 | |
| pico | 10^-12 | 0.000000000001 | |
| femto | 10^-15 | 0.000000000000001 | |
| atto | 10^-18 | 0.000000000000000001 | |
| zepto | 10^-21 | 0.000000000000000000001 | |
| yocto | 10^-24 | 0.000000000000000000000001 |
How SI prefixes work
SI prefixes scale a base unit by powers of 10. Each step in the major series is ×1000 (kilo, mega, giga…); the smaller deci, centi, hecto, deca fill in the middle.
- 01
Type a number
Any quantity in any prefix.
Inputs are treated as UTF-8 throughout the pipeline and validated client-side as you type — nothing dispatches until the value is well-formed.
valueinpututf-8client-sidevalidatedvalue · text1 · set1 kilo
loaded · parsedclient-side - 02
Pick from-prefix
What unit is your input in?
Each toggle re-computes through a memoised hook, so flipping options never resets your input and the UI stays snappy on large inputs.
fromoptionslivememoisedtogglesfrom · memoisedk · livekilo (10^3)
options set · memoisedlive - 03
Read all prefixes
Every prefix shows the same quantity rescaled.
Randomness — where used — comes from
crypto.getRandomValues, neverMath.random. Heavy work sits inuseMemo.readcomputeinstantlocaldeterministicout · instantall · computed1k = 1M ÷ 1000
computed · instantinstant - 04
Copy
Click any cell to copy the rescaled value.
Copy writes through
navigator.clipboardand downloads use aBlob— zero network traffic. Same input plus same options always yield the same bytes.copydownloadzero-networkreproducibleok · copiedready · copiedCopied 1000
shipped · ready to shipsuccess
Pro tips for everyday utilities
Reach for crypto.getRandomValues
Cryptographically random for IDs, tokens, salts. Math.random is for animation and games, not security.
Mock data with seeds
Faker-style libraries can be seeded so tests are reproducible. Embed the seed in the fixture file.
Reference cards beat memory
Cheatsheets for Vim, Git, Docker, Linux signals are faster than man pages when you’re mid-flow.
Browser APIs vary
Touch events, gamepads, and clipboard differ across vendors. Feature-detect before use.
Persist in the right place
localStorage for user preferences, sessionStorage for transient state, IndexedDB for structured data.
When to convert SI prefixes
Physics, chemistry, engineering, electronics.
Physics homework
Convert nm to µm to mm in one place. Random values come from crypto.getRandomValues — cryptographically secure for tokens, salts, and session IDs. Math.random is deterministic enough for animations but predictable enough to be a security bug.
CSPRNG-backedEngineering specs
Datasheets often mix Hz, kHz, MHz, GHz. Pair with hashids, ULID, or UUID v7 when you need both random and sortable — useful for primary keys, public-facing IDs, and event log ordering without a sequence column.
reproducibleNetwork speed
Megabits vs gigabits without typos. Output is deterministic given the same seed, so fixtures and tests stay reproducible across CI runs and contributor machines. Embed the seed in the fixture file for full replay.
snappyLab reports
Convert measurements consistently. Heavy work runs through useMemo so the UI stays snappy on large inputs. Same input + same options yields identical bytes — the kind of stability snapshot tests rely on.
feature-detectedAstronomy
Up to yotta when measuring star masses. Storage tools persist to the right backend: localStorage for user preferences, sessionStorage for transient state, IndexedDB for structured data. Pick the right shelf and quota worries disappear.
deterministicParticle physics
Down to yocto for sub-atomic timescales. Browser feature detection: clipboard, fullscreen, gamepad, and Web Bluetooth APIs gracefully fall back when unavailable. No surprise white screens on Safari or older Firefox.
production-readyFrequently asked questions
Something missing?
Tell us what you need. We ship the top requests every two weeks.