Find your next tool

Search stays in your browser. Use ↑ ↓ to browse and Enter to open.

Not sure which tool? Inspect a text sample

Use a small, non-sensitive sample. Inspection happens only when you choose Inspect sample, entirely in this browser. Nothing is uploaded, saved or automatically pasted into another tool. Closing this finder clears the sample.

0 / 8,000 characters

Try “make PDF smaller”, “remove photo location” or “GPA”. Ctrl / ⌘ + K opens this finder on any page.

Ratio Calculator

Simplify ratios to their lowest terms instantly.

Runs locally in your browser

Your inputs are processed locally in your browser and are not uploaded or stored by us.

Before you start
  1. Enter the first integer value in the left field (A).
  2. Enter the second integer value in the right field (B).
  3. The calculator will compute the greatest common divisor (GCD) and simplify the ratio.
  • Inputs must be non-negative integers that fall within JavaScript’s safe-integer range.
  • A ratio of 0 : 0 cannot be meaningfully simplified and is considered invalid.
  • Ratios involving a single zero (e.g., 0 : 5 or 5 : 0) are perfectly valid and will resolve to 0 : 1 or 1 : 0 respectively.
  • Your inputs are processed locally in your browser and are not uploaded or stored by us.

Use the limits and supported formats shown by this tool. Read how it works.

:

Simplify a two-part mathematical ratio (A : B) to its lowest terms instantly using exact integer arithmetic.

How to simplify a ratio

  1. Enter the first integer value in the left field (A).
  2. Enter the second integer value in the right field (B).
  3. The calculator will compute the greatest common divisor (GCD) and simplify the ratio.

Ratio Simplification Method

Simplified A = A ÷ GCD(A, B) Simplified B = B ÷ GCD(A, B)

The calculator finds the greatest common divisor (GCD) between the two values and divides both sides by it. This exact integer calculation ensures the ratio remains mathematically perfect without relying on decimal approximations.

Simplifying 8 : 12

First value8
Second value12
1. Find GCD(8, 12) = 4 2. Divide 8 ÷ 4 = 2 3. Divide 12 ÷ 4 = 3
Result: 2 : 3

Notes

  • Inputs must be non-negative integers that fall within JavaScript’s safe-integer range.
  • A ratio of 0 : 0 cannot be meaningfully simplified and is considered invalid.
  • Ratios involving a single zero (e.g., 0 : 5 or 5 : 0) are perfectly valid and will resolve to 0 : 1 or 1 : 0 respectively.
  • Your inputs are processed locally in your browser and are not uploaded or stored by us.

Advertisement