ToolJovia
Math

Ratio Calculator

Simplify a whole-number ratio and see each part as a share of the combined total.

✓ Browser-local processing

Loading tool…

How to use Ratio Calculator

The greatest common divisor reduces both whole-number parts to their simplest ratio. Each part is also divided by their total to show the shares.

  1. Enter first part, second part.
  2. Check that the input follows the stated limits and uses consistent units.
  3. Run the calculator, review the result, then copy or download it.

Good to know

  • Parts must be nonnegative whole numbers up to 1 trillion, and cannot both be zero.
  • Decimal inputs have at most 120 characters and magnitude from 1e-100 to 1e15, or zero. Floating-point results are rounded to 12 significant digits; extreme derived results may underflow or be rejected. Exact integer results are identified separately.

Common questions

What calculation does Ratio Calculator perform?

The greatest common divisor reduces both whole-number parts to their simplest ratio. Each part is also divided by their total to show the shares.

Does a 2:3 ratio mean 2 divided by 3 of the total?

No. It means two parts and three parts: the first share of their combined total is 2/5.

Keep going with related tools

All math →