Developer Tools calculators

Base64 size, JWT expiry, cron schedules, color contrast, API rate limits, uptime SLA, and LLM token cost

AI API Cost CalculatorEstimate monthly AI API spend based on requests per day, average token counts, and your chosen model from OpenAI, Anthropic, or Google.Amdahl's Law Speedup CalculatorPredict the maximum parallel speedup for a fixed workload using Amdahl's Law from the parallel fraction and processor count, and see the serial ceiling.API Rate Limit CalculatorModel a token-bucket rate limiter: compute sustained rate, burst capacity, time to exhaust under load, and time to refill.ASCII ConverterConvert text to ASCII codes in decimal, binary, hex, and octal, or convert codes back to text. Handles printable and non-printable characters.Base64 Size CalculatorCompute the Base64 encoded size from raw bytes, data-URI overhead, and the reverse decoded size from a Base64 string length.Bcrypt Cost CalculatorConvert a bcrypt cost factor to iteration count, estimate hash time from a benchmark, and find the cost factor that meets a target hash duration.Binary to Text ConverterConvert binary (8-bit groups) to text and back, mapping each byte to a single character in the 0-255 ASCII/Latin-1 range.Chmod CalculatorConvert Unix file permissions between octal notation (755) and symbolic notation (rwxr-xr-x) with live checkbox synchronization.Color Contrast CheckerCompute the WCAG contrast ratio between two hex colors and instantly check AA and AAA pass or fail for both normal and large text. Free, in your browser.Container Image Size CalculatorEstimate total uncompressed container image size and compressed registry pull size from base, application, and dependency layers.Cron Schedule CalculatorParse a 5-field cron expression and preview the next run datetimes, with support for steps, ranges, lists, and named presets.CSS Aspect Ratio CalculatorCalculate missing dimension or simplified ratio from any two of width, height, and aspect ratio (16:9, 4:3, custom) with CSS aspect-ratio output.CSS Units CalculatorConvert between px, rem, em, and pt CSS length units with a configurable root font size and get the ready-to-paste CSS value.Cyclomatic Complexity CalculatorCalculate McCabe cyclomatic complexity from decision-point counts (if, else if, case, &&, ||, catch, ternary, loops) with risk-band guidance.Data Compression Ratio CalculatorCalculate the compression ratio, percentage of space saved, and effective bits per byte from original and compressed file sizes.Data Transfer Time CalculatorCompute file transfer time from size and bandwidth with bit/byte handling and protocol overhead, or the bandwidth needed for a target completion time.Floating-Point Calculator (IEEE 754)Convert a decimal number to its IEEE 754 single (32-bit) or double (64-bit) binary representation, with sign, exponent, and mantissa fields.Gustafson's Law Speedup CalculatorCalculate the scaled parallel speedup with Gustafson's Law from the parallel fraction and processor count to see how much more work more cores unlock.Hash GeneratorGenerate SHA-1, SHA-256, SHA-384, and SHA-512 cryptographic hash digests of any text instantly and privately, right in your browser. Free, no upload.JWT Expiry CalculatorCompute a JWT exp timestamp from issued-at plus TTL, or read remaining lifetime from an exp claim, with a human countdown.LLM Token Cost CalculatorEstimate LLM API cost per request from prompt and completion tokens with separate input/output prices, plus monthly and annual spend projection.Parity Bit CalculatorCalculate the even or odd parity bit for any binary or hexadecimal string and append it to the data, with single-bit error detection guidance.QPS & Latency CalculatorApply Little's Law to relate QPS, latency, and concurrency, then size the thread pool or connection pool your service needs for peak traffic. Free.Regex TesterTest any regular expression against sample text with the native JavaScript engine and see every match, its position, and all capture group contents.Strikethrough Text GeneratorGenerate strikethrough, underline, slash, overline, double-underline, and tilde-strike Unicode text styles that copy-paste anywhere without HTML.T9 to Text ConverterConvert a T9 multi-tap or predictive phone keypad sequence (digits 2 to 9 with repeat counts) to plain text, and convert plain text back to T9 keypresses.Uptime & SLA CalculatorConvert an SLA uptime percentage into allowed downtime per day, week, month, quarter, and year, or compute achieved SLA from actual downtime.UUID GeneratorGenerate random version 4 UUIDs (GUIDs) instantly and securely in your browser using the Web Crypto API, ready to copy for keys, IDs, and trace data.Video Bitrate CalculatorConvert between video bitrate, clip duration, and file size in two modes for encoding and streaming planning, using the simple linear MB formula.

About Developer Tools Calculators

Developer tools live or die on numbers that are tedious to do in your head and embarrassing to get wrong in production: the size of a Base64 payload, the exact minute a JWT expires, the next time a cron expression fires, whether a color pair clears the WCAG contrast threshold, or how many requests per second your rate limit actually allows before it starts dropping traffic. The AllCalculators Developer Tools hub gathers the quick math that backend engineers, frontend developers, SREs, platform teams, and indie hackers reach for a dozen times a day so you stop opening a REPL or guessing at a comment in a config file. Base64 encoding inflates binary data by roughly 33% (three bytes in becomes four characters out), and the Base64 size tool tells you exactly how big an inlined image, an embedded font, or a data URI will get before it bloats your HTML or blows a request-size limit. JWT expiry math turns an `exp` claim or a token lifetime into a human-readable wall-clock time and remaining duration, which matters when you are debugging a 401 at 2 a.m. and need to know whether the token is stale or the clock is skewed. Cron-schedule tools parse the five-field expression and show the next several fire times in your timezone, so you can confirm that `0 */6 * * *` really means what you think before you ship it to the scheduler.

On the web side, the color-contrast checker returns the WCAG 2 ratio for a foreground/background pair and tells you whether it passes AA or AAA for normal and large text, the single most common accessibility audit failure. CSS-unit and aspect-ratio helpers convert px ↔ rem ↔ em at a given root size and resolve width-to-height for 16:9, 4:3, or any custom ratio so your layout math is exact rather than approximate. For capacity and reliability work, the QPS-to-latency tool relates concurrency, throughput, and response time through Little’s Law, the uptime/SLA calculator turns a target like 99.9% into the actual minutes of allowed downtime per month (≈43.8 minutes), and the API rate-limit tool sizes a token bucket against your expected burst and sustained load. The bcrypt cost calculator estimates hashing time for a given work factor so you can pick a cost that is slow enough to deter attackers but fast enough to keep login latency acceptable.

And the LLM token-cost and data-transfer-time tools price a prompt-plus-completion run and estimate how long a file takes to move across a given bandwidth, both increasingly part of everyday backend budgeting. Use these to ship configs you have actually verified instead of values you assumed.

When to Use a Developer Tools Calculator

  • Estimating how much a Base64-inlined image, font, or data URI will inflate an HTML or JSON payload before it hits a size limit
  • Reading a JWT `exp` claim or token lifetime as a wall-clock time and remaining duration while debugging a 401
  • Confirming the next fire times of a cron expression in your timezone before shipping it to a scheduler
  • Checking whether a foreground/background color pair clears WCAG AA or AAA contrast for normal and large text
  • Turning a 99.9% or 99.99% SLA target into the actual minutes of allowed downtime per month
  • Relating concurrency, throughput, and latency through Little’s Law to size a service or a token-bucket rate limit
  • Choosing a bcrypt work factor that balances brute-force resistance against acceptable login latency

Frequently Asked Questions

How much bigger does Base64 encoding make my data?

Base64 maps every three bytes of input to four output characters, so the raw expansion is exactly 4 ÷ 3 ≈ 1.333, about a 33% increase before any padding. Padding adds up to two `=` characters at the end, and if you are embedding the result in an HTML or CSS data URI there is a small fixed prefix overhead too. The practical consequence is that a 90 KB image becomes roughly 120 KB of text, which can push an inlined asset past a request-size limit or noticeably bloat an HTML document that the browser then cannot cache separately. The Base64 size calculator does this math both directions so you can decide whether inlining is worth it or whether you should serve the asset as a separate cacheable file.

What does an SLA percentage actually mean in minutes of downtime?

An availability target translates directly into an error budget of allowed downtime. 99% ("two nines") permits about 7.3 hours of downtime per month; 99.9% ("three nines") permits ≈43.8 minutes per month; 99.99% ("four nines") permits ≈4.38 minutes per month; and 99.999% ("five nines") permits ≈26 seconds per month. Those budgets cover everything: deploys, incidents, dependency failures, and maintenance windows unless your SLA explicitly excludes them. The uptime/SLA calculator converts any target into per-day, per-month, and per-year downtime so you can size on-call rotations and decide whether a higher tier is realistic for your architecture.

How do I choose a bcrypt cost factor?

The bcrypt cost (work factor) is a base-2 exponent: each increment doubles the hashing time. A cost that takes roughly 100-300 milliseconds per hash on your production hardware is a common target, slow enough that offline brute-forcing of a leaked hash is expensive, but fast enough that login latency stays acceptable under load. Because the right number depends on your CPU and on how much concurrent login traffic you expect, you should re-benchmark when you change hardware and bump the cost over the years as CPUs get faster. The bcrypt cost calculator estimates per-hash time for a given work factor so you can pick a value deliberately instead of copying a default from a tutorial.

My cron job is not running when I expect. How can I check the expression?

Cron uses five fields (minute, hour, day-of-month, month, day-of-week), and the most common mistakes are confusing `*/n` (every n units) with `n` (at unit n), mixing day-of-month and day-of-week constraints that cron treats as an OR rather than an AND, and forgetting that the scheduler runs in a specific timezone (often UTC) that may not match yours. The cron-schedule calculator parses the expression and lists the next several fire times in the timezone you choose, so you can confirm that `0 */6 * * *` fires at midnight, 6 a.m., noon, and 6 p.m. rather than the once-a-day or every-minute behavior you may have accidentally written.