Ratio Calculator | Best Calculator

Ratio Calculator

Enter any three values below to calculate the fourth in the ratio A:B = C:D.

Result will appear here
Formula:
A : B = C : D → A×D = B×C

Example:
A = 10, B = 20, C = 15 → D = (20 × 15) / 10 = 30
Copied!

 What Is a Ratio?

A ratio is a mathematical way to compare two or more values. It shows how many times one quantity fits into another. For example, if you receive half as many cookies as someone else, you’ve experienced a 1:2 ratio—even if you didn’t express it in numbers.

Ratios are commonly written in three formats:

  • Using a colon, like 1:2

  • As a phrase, like “1 to 2”

  • Or as a fraction, like ½

These all describe the same relationship: the second number is how many units you need of the first to make them equal in value. For instance, in the ratio 2:1, the first number (2) is double the second number (1), meaning the first value contains the second twice.

Ratios aren’t limited to just two terms—you can also work with ratios involving three or more values, such as 1:2:3.

Where Are Ratios Used in Real Life?

Ratios are everywhere in daily life, and you likely use them without realizing it. Here are some practical examples:

  • Cooking & Baking: Recipes often use ratios to balance ingredients. A recipe calling for a 1:2:3 ratio of butter, sugar, and flour means you’ll need to double each part if you want to bake twice as much.

  • Maps & Models: Scaled-down versions of real-world objects rely on ratios to maintain proportion.

  • Finance & Odds: Ratios describe risk, rates of return, and betting odds.

  • Screens & Videos: Digital screens and video formats use aspect ratios to define dimensions.

Example: Scaling a Recipe with Ratios

If one cake recipe uses a 1:2:3 ratio for butter, sugar, and flour, and you want to bake 5 cakes, just multiply each number by 5:

  • 1 × 5 = 5 parts butter

  • 2 × 5 = 10 parts sugar

  • 3 × 5 = 15 parts flour

This keeps the proportions balanced while scaling the total quantity.

 Common Aspect Ratios and Screen Resolutions

Aspect ratio refers to the width-to-height relationship of a screen or image. It’s used in everything from computer monitors and smartphones to video content and photography. Below is a helpful chart showing typical screen resolutions and their corresponding aspect ratios:

NameAspect RatioWidth (px)Height (px)
480p3:2720480
576p5:4720576
720p16:91280720
1080p (Full HD)16:919201080
2160p (4K UHD)16:938402160
4320p (8K UHD)16:976804320
8640p16:9153608640
SVGA4:3800600
WSVGA~17:101024600
XGA4:31024768
XGA+4:31152864
WXGA16:91280720
WXGA5:31280768
WXGA16:101280800
SXGA (UVGA)4:31280960
SXGA5:412801024
HD~16:91360768
HD~16:91366768
SXGA+4:314001050
WXGA+16:101440900
HD+16:91600900
UXGA4:316001200
WSXGA+16:1016801050
FHD16:919201080
WUXGA16:1019201200
QWXGA16:920481152
WQHD16:925601440
WQXGA16:1025601600
   0
WQXGA16:1025601600