Expression
result appears here
64-bit  ·  MSB → LSB
Frequency ↔ Period
Frequency
Period
dB ↔ Linear Converter
dBm (Power)
dBm
Linear (W)
Common Power References
Rise Time ↔ Bandwidth
Rise Time
Bandwidth
Gaussian
BW = 0.35 / tr
Single-pole RC
BW = 0.22 / tr
Enter any 2 of V, I, R, P
V — Voltage
I — Current
R — Resistance
P — Power
Enter any 2 values above to compute the other 2
IEEE 754 Floating Point Visualizer
Sign
Exponent
Mantissa
Memory / Data Size
Input: decimal or hex (0x…), interpreted in the selected unit
result appears here
How to use BitBench

Seven tools for embedded, RF, and hardware work. Pick a tab below to jump to it, or press 17 to switch. Click any monospace value cell to copy it.

1 Number
Best for: decoding registers, masks, and bitwise math in any base.

Type an expression in decimal, hex, binary, or octal — it evaluates live and shows the result as HEX · DEC · OCT · signed i64, plus a clickable 64-bit grid. Toggle Fields to name bit ranges and decode a register layout.

Operators
Arithmetic+   -   *   /   %   **
Bitwise&   |   ^   ~   <<   >>
Literals255   0xFF   0b1010   0o17
Functionslsr(v,n)   rol(v,n)   ror(v,n)
Examples
  • (0x10 + 4) << 2 — compute an address offset
  • ~0xF & 0xFF — clear the low nibble of a byte
  • 1 << 7 | 1 << 3 — set bits 7 and 3
  • rol(0x80000000, 1) — rotate left, watch the wrap
2 Memory
Best for: making sense of buffer / flash / RAM sizes.

Enter a byte count (decimal or hex) and read it across B · KB · MB · GB · TB at once. Switch Binary (1024) vs Decimal (1000) to match datasheets vs drive specs.

Examples
  • 0x100000 — confirm a flash region is exactly 1 MiB
  • 1.5 with unit GiB — see the exact byte count
  • 2048 bytes — how many KiB is this DMA buffer?
3 Freq ↔ Time
Best for: clock periods, timer ticks, sample rates.

Two-way conversion between frequency and period, shown in every unit. Tap a clock preset (24M, 48M, 100M…) to start, and read the ½ / ¼ period below.

Examples
  • Enter 100 MHz → period is 10 ns
  • SPI at 8 MHz → one bit takes 125 ns
  • Type 1 µs on the period side → that's a 1 MHz tick
4 dB ↔ Linear
Best for: RF link budgets and gain/attenuation math.

Convert dB to/from linear power or voltage. Pick Power (×10) for dBm/watts or Voltage (×20) for dBV. The reference table is clickable.

Examples
  • 0 dBm = 1 mW; 30 dBm = 1 W
  • -3 dB ≈ half the power
  • 20 dBV = 10 V (voltage mode)
5 Rise / BW
Best for: scope bandwidth and signal-integrity estimates.

Convert between 10–90% rise time and bandwidth using the Gaussian (0.35 / tr) and single-pole RC (0.22 / tr) models.

Examples
  • 1 ns rise time → ~350 MHz needed
  • A 100 MHz scope resolves edges down to ~3.5 ns
6 Ohm's Law
Best for: resistor, LED, and power-dissipation sizing.

Enter any two of V, I, R, P (each with its own unit) and the other two are solved instantly. Known values show blue, computed ones green.

Examples
  • 3.3 V + 10 mA → R = 330 Ω, P = 33 mW
  • 5 V + 220 Ω → current and dissipation for an LED resistor
7 IEEE 754
Best for: debugging floating-point bit patterns.

Enter a float (3.14, -1.5e-5, NaN) or a raw hex word and see the sign / exponent / mantissa split, the category, and the exact value. Toggle Float32 / Double64.

Examples
  • 0x3F800000 (f32) decodes to 1.0
  • 0.1 — see why it isn't exact in binary
  • NaN / Infinity — inspect the special encodings