Math / Ratio Simplifier

Ratio Simplifier

Simplify two or more quantities into their smallest whole-number relationship.

Your answer will appear here.

Formula: Scale decimal values to whole numbers, then divide every value by the greatest common divisor.

The basics

Reducing a ratio to its simplest form

A ratio compares quantities by division. To simplify, scale any decimals to whole numbers, then divide every term by the greatest common divisor — the largest number that divides all of them evenly. The result keeps the same relationship in the smallest possible integers.

Ratios and fractions describe the same idea from different angles. For exact fraction arithmetic, the Fraction calculator adds, subtracts, and reduces using the same divisor logic.

How the formula works

a : b → (a ÷ g) : (b ÷ g), where g = GCD(a, b)

Find the greatest common divisor of all terms, then divide each term by it to reach the reduced ratio.

Order matters

2:3 is not the same as 3:2; the terms keep their positions.

Scaling up

Multiplying every term by the same number keeps the ratio equivalent.

In practice

Worked examples

Input

12:18

Answer

2:3

Input

1.5:2.5

Answer

3:5

Good to know

Frequently asked questions

Enter two or more values separated by commas, colons, slashes, spaces, or new lines.

Keep going