incolator
EN
EN

Ratio Calculator

Reduce two parts to their simplest integer relationship with the ratio calculator. Decimal parts are exact, and a second mode finds the missing second part in an equivalent ratio.

Result2:3

Your numbers

Example inputs. Results update as you type.

Example
Example

Use a dot for decimals. Up to 120 digits and 80 decimal places per number; no grouping commas or exponents.

Result

2:3

The reduced ratio is 2 : 3. Signs are retained as an algebraic relationship.

What to check next

How the calculation works

Multiplying or dividing both parts by the same nonzero factor preserves a ratio. Decimal parts are first converted exactly to integers with a common scale. Negative ratios retain their signs as algebraic relationships, not physical shares.

Step-by-step solution
  1. Clear decimal denominators: 12 : 18
  2. GCD of magnitudes = 6
  3. Divide both parts: 2 : 3
Relative sizes of the two parts

Relative sizes of the two parts

Examples

Simplify — 2:3

The reduced ratio is 2 : 3. Signs are retained as an algebraic relationship.

Task
Simplify A : B
First part A
12
Second part B
18
Equivalent first part C
8
  1. Clear decimal denominators: 12 : 18
  2. GCD of magnitudes = 6
  3. Divide both parts: 2 : 3
Decimal parts — 2:3

The reduced ratio is 2 : 3. Signs are retained as an algebraic relationship.

Task
Simplify A : B
First part A
0.5
Second part B
0.75
Equivalent first part C
8
  1. Clear decimal denominators: 4 : 6
  2. GCD of magnitudes = 2
  3. Divide both parts: 2 : 3
Equivalent ratio — 12

The equivalent ratio is 8 : 12.

Task
Solve A : B = C : x
First part A
12
Second part B
18
Equivalent first part C
8
  1. Cross multiply: 12 × x = 18 × 8
  2. x = 12
One zero part — 0:1

The reduced ratio is 0 : 1. Signs are retained as an algebraic relationship.

Task
Simplify A : B
First part A
0
Second part B
8
Equivalent first part C
8
  1. Clear decimal denominators: 0 : 8
  2. GCD of magnitudes = 8
  3. Divide both parts: 0 : 1

How this is calculated

Clear decimal denominators, then divide both integer parts by their positive GCD. For A:B = C:x, x = B × C / A when A ≠ 0.

Integer reduction uses a positive greatest common divisor after the decimal parts have been cleared exactly. Equivalent-ratio answers retain an exact fraction; their decimal presentation can be rounded to 12 places.

Reviewed

Continue exploring calculators

Questions

Can a ratio contain a zero part?

A two-part ratio such as 0:8 reduces to 0:1. The pair 0:0 has no defined reduced ratio. A zero denominator is not valid when the ratio is used as a fraction in equivalent-ratio mode.

Why do decimal ratios become integers?

Both parts are scaled by compatible powers of ten, then reduced by their common divisor. The relationship stays exact.

Are negative parts supported?

They are supported as signed algebraic parts. They are not treated as physical portions, so the parts diagram is omitted.

When should I use Proportion instead?

Use Proportion when any one of four positions is unknown. The equivalent-ratio mode here specifically solves the final second part.

The arithmetic is exact for the numbers entered; rounded decimals are approximations. Applying a result to measured or estimated quantities also carries their uncertainty. General mathematical information, not professional advice.

Calculation checks and limits

We tested the exact rational results under the stated conventions with checks every answer must pass and with worked examples. We did not compare it with a separate calculation or an outside program. Measurement uncertainty and the meaning of real-world inputs are not covered by these checks; they require context outside the mathematical model.