Examples
Click an example to load it into the matching calculator.
Expression
Operators + - * / % ** ^, shifts/bitwise << >> >>> & |, parentheses, and hex/binary/octal literals (0xFF, 0b1010, 0o17). Shifts are arithmetic: 1 << 31 = 2³¹.
Result
495
Click an example to load it into the matching calculator.
Operators + - * / % ** ^, shifts/bitwise << >> >>> & |, parentheses, and hex/binary/octal literals (0xFF, 0b1010, 0o17). Shifts are arithmetic: 1 << 31 = 2³¹.
495
A calculator built for developers: expressions with hex/binary literals, bitwise math, two's complement, IEEE-754 floats, byte and JSON sizes, IPv4 CIDR, timestamps, and performance, bandwidth, storage and cache estimators — all locally.
0xFF + 1256The calculator reads 0x (hexadecimal), 0b (binary) and 0o (octal) literals, so one expression can mix formats: 0xFF + 1 evaluates to 256. The Radix tool shows the same value across all four bases and its signed interpretations — 255, 0xFF and 0b11111111 are one number written three ways.
Before you ship a payload, size matters. The Bytes and Encoding size tools answer the recurring question of how big data really is: text in UTF-8 is one byte per ASCII character and 2–4 bytes for most other scripts, Base64 adds roughly a third ( SGVsbG8= is the 8-character encoding of the 5-byte string Hello), and JSON size compares your pretty-printed body against the minified form you would actually send.
A JSON body that lives in Bytes mode for 30 seconds tells you whether it'll fit in a 1KB webhook or needs chunking before you ship it.
Masked radix output reveals what an 8-bit signed cast does to a value that 'looks fine' in decimal; the float tool shows why 0.1 + 0.2 isn't 0.3.
Put realistic RPS and latency into Performance, or a key count and value size into Cache, to sanity-check your sizing before you scale.
Compare CRC-32 of two config blobs to confirm whether a deploy artifact actually changed.
Radix mode refuses a negative numberWhy: Radix conversion is defined for non-negative integers only.
Fix: Mask with a signed width to see the width-truncated representation, or use the Two's complement tool for the full signed view.
Expression says 'Result is not finite'Why: Division by zero, or a huge exponent overflow.
Fix: Check for /0 and % 0 operands; use ** within a sane range.
CRC-32 differs from another toolWhy: Some tools output zlib (adler) or use a different polynomial, or print the signed 32-bit interpretation.
Fix: Compare against this tool's unsigned value; note that standard CRC-32 does not seed with the standard init in a few legacy tools.
It's built for code: hex/binary/octal literals, bitwise operators and two's complement, IEEE-754 float layout, bit-width masking, byte and encoding sizes, IPv4 CIDR math, JSON size, plus performance, bandwidth, storage, cache and queue estimators. No eval() is ever used — everything runs through small operator-precedence parsers.
Yes. The expression tab accepts decimal, hex (0x), binary (0b) and octal (0o) integer literals alongside + - * / % ** and parentheses, following standard precedence.
Masking a value to 8/16/32 bits shows what C-style casts and bitwise operations actually produce at that width — useful for byte arithmetics, checksums and register work. The Two's complement tool shows the full signed representation for any width.
UTF-8 byte length of your text plus its hex dump and Base64 encoding — so you can predict payload sizes before you send them. The Data-size tool converts between KB/MB/GB (decimal) and KiB/MiB/GiB (binary) exactly.
Concurrency uses Little's law (RPS × latency), bandwidth is RPS × request+response size, and the storage/cache/queue tools apply your replication, growth, retention and overhead inputs with the math shown in the UI. They're planning estimates, not guarantees.
Yes — it's the standard IEEE 802.3 CRC-32 (polynomial 0xEDB88320), and it always returns the same unsigned 32-bit value for the same text, which makes it handy for quick equality checks.
No. Every calculation runs locally in your browser, including the CRC-32 hash and your calculation history — safe even for code fragments and secret samples.
Last reviewed September 2026 · DataFormatter team — this tool processes data locally in your browser.