Ratio Calculator

Calculate ratios, proportions, and scale factors.

Original Ratio

Enter two values to instantly simplify a ratio and convert it to decimal and percentage.

Your Results

Simplified
--:--
Ratio
--:--
As Decimal
--
Percentage split
--% / --%
Visual ratio
W1
H1

Scale to New Size

Enter a new width or a new height and keep the same proportion automatically.

or
New Width
--
New Height
--
Scale Factor
--
Enter either width or height - the other dimension will automatically calculate to maintain the original ratio

Ratio Calculator Hub

This page is your all-in-one ratio hub. Enter any two values and get instant outputs for:

  • simplified ratio
  • decimal ratio
  • percentage split
  • proportional scaling for width/height

If you need one specific task, use these focused tools:

How to simplify a ratio

To simplify a:b, divide both numbers by their greatest common divisor (GCD).

Example:

  • 12:18
  • GCD is 6
  • simplified ratio is 2:3

Formula:

simplified = (a / gcd(a,b)) : (b / gcd(a,b))

Ratio to decimal and percentage

Given ratio a:b:

  • Decimal value of the ratio is a / b
  • Percentage split is:
    • first part: a / (a + b) * 100
    • second part: b / (a + b) * 100

Example for 3:2:

  • Decimal: 1.5
  • Percentage split: 60% / 40%

Scale ratio to new size

When you keep a proportion, one side controls the other.

  • New height: newWidth * originalHeight / originalWidth
  • New width: newHeight * originalWidth / originalHeight

That is useful for:

  • image resizing
  • video dimensions
  • print/layout scaling
  • UI and design work

Common ratio examples

  • 16:9 (widescreen video)
  • 4:3 (legacy display/photo)
  • 3:2 (many camera sensors)
  • 1:1 (square social format)

FAQ

What is the difference between ratio and fraction?

A ratio compares two quantities, while a fraction usually represents part of a whole. A ratio can be written as a fraction, but context matters.

Does order matter in a ratio?

Yes. 2:3 is not the same as 3:2.

Can I use decimals in a ratio?

Yes. This calculator accepts decimals and still returns simplified and converted outputs.

Can I copy the result?

Yes. Use the copy controls in the result cards to quickly paste into docs, design specs, or code.