Enter Your Conversion
Result
Converted: –
Scientific: –
Grouped: –
Overview
• Natural unit (nat): based on natural logarithms. • Shannon (Sh): 1 bit. • Hartley (Hart): log₂(10) ≈ 3.3219 bits. • Nibble: 4 bits. • Byte: 8 bits. • Decimal prefixes (kB=10³, MB=10⁶…) are standard in storage manufacturing; binary prefixes (KiB=2¹⁰…) are common in OS.
Formula & Methodology
1️⃣ Convert any unit → bits: \( \text{bits} = \text{value} \times f_{\text{from}} \) 2️⃣ Convert bits → target unit: \( \text{result} = \frac{\text{bits}}{f_{\text{to}}} \)
3️⃣Convert Units → Bytes: $$ B = \begin{cases} \text{bit}/8, &\text{bit}\\ 1, &\text{byte}\\ 10^3, &\text{kB_SI}\\ 2^{10}, &\text{KiB}\\ 10^6, &\text{MB_SI}\\ 2^{20}, &\text{MiB}\\ \dots \end{cases} $$
Examples
- 1024 byte → kB: 1024×8=8192 bits → ÷(8×1000)=8.192 kB
- 5 MB → GB: 5×8×10⁶ ÷(8×10⁹)=0.005 GB
- 10 Hart → bit: 10×3.321928=33.21928 bits
Real-World Usage
• Modern SSDs: 500 GB–2 TB. • Standard RAM modules: 8 KiB–64 GiB. • Photos/text: a few MB per file; video: GBs.
Frequently Asked Questions
When to use nat or Shannon?
Nats are used in continuous information theory; shannons (bits) in digital communications.
Why decimal vs binary?
Storage vendors quote decimal (e.g. 500 GB), while OS may report binary sizes (≈465 GiB).
What is a nibble?
A group of 4 bits, useful in hex-digit alignment and low-level coding.