Files never leave your device

Fraction calculator

Add, subtract, multiply or divide fractions and follow the working. Your inputs stay on your device.

Set up your task

Ready. Processing stays in this browser.

How to use Fraction calculator

Work with exact fractions and see how the answer follows from the two inputs. Use it to check homework, adjust a recipe or divide an amount into shares.

  1. Enter the first fraction or whole number. For example, type 3/8.
  2. Choose an operation and enter the second value.
  3. Compare the steps with your own calculation, then read the simplest exact result.

Supported inputs and limits

Use whole numbers or fractions with positive denominators. Each numerator and denominator can use up to 12 digits. The answer is shown in simplest form.

How it works

Adding or subtracting fractions requires the pieces to be the same size. The calculator multiplies the denominators and rewrites the two numerators over that common denominator. For 1/4 plus 1/6, those numerators become 6 and 4. Adding gives 10/24. The product of the denominators works even when a smaller common denominator exists.

To multiply, multiply the numerators and the denominators independently. To divide, turn the second fraction over and multiply. For example, dividing 2/3 by 4/5 is the same as multiplying 2/3 by 5/4. Zero may be the first value or the second value in many operations, but dividing by zero has no result. A denominator of zero is also invalid.

The last step divides the top and bottom by their greatest common factor. For 10/24 that factor is 2, giving 5/12. The calculator keeps the arithmetic in whole numbers throughout so even repeating decimal values remain exact. A negative answer puts the sign before the numerator, and a result with denominator 1 is shown as a whole number.

Example

Add 1/4 and 1/6. Using a common denominator gives 10/24, which simplifies to 5/12.

Questions about Fraction calculator

Does this round fractions into decimals?

The answer is always an exact fraction or whole number.

Can I enter a negative fraction?

Yes. Put the minus sign before the numerator, as in -3/8.

Can I enter a mixed number such as 1 and a half?

Convert it first to an improper fraction. For example, enter 3/2 for 1 and a half.

Related tools

Last updated