BigInt ratio math

PLL Divider And Rational Ratio Calculator

Designed for clock trees, audio sample rates, UART baud rates, and divider setup. Fraction reduction uses BigInt to avoid silent integer precision loss.

Inputs

Local

Ready. All processing runs locally in this browser.

Output

Offline

Practical guide

PLL Divider / Rational Ratio Calculator

Find practical numerator and denominator pairs for clocks, baud rates, sample rates, and divider configuration.

How to use

  1. Enter the source clock and target clock in MHz.
  2. Set a maximum denominator that matches the divider range your hardware can support.
  3. Calculate the reduced ratio, approximate divider pair, output clock, and ppm error.
  4. Copy or download the result for datasheet review or firmware configuration.

Common use cases

  • Choosing PLL fractional divider values for display, audio, or communication clocks.
  • Estimating ppm error when the exact target clock cannot be represented.
  • Checking baud-rate, sample-rate, or timer divider approximations.

Privacy note

Clock values and divider assumptions are processed locally. No project frequency plan is sent anywhere.