Fractions are where many people first lose confidence in maths, usually because of one fiddly step: finding a common denominator, flipping the right fraction, or spotting the number to cancel by. This fraction calculator does the arithmetic exactly and, more importantly, shows each step the way a teacher would write it on the board.
Type fractions the natural way: 3/4, mixed numbers such as 1 1/2 or -2 3/5, whole numbers such as 5, or decimals such as 0.75. The calculator works with whole-number numerators and denominators of any size, so there is no rounding hidden inside the answer: is exactly , not 0.49999.
Four modes cover the usual tasks:
- Calculate with two fractions — add, subtract, multiply or divide A and B.
- Simplify a fraction — reduce it to lowest terms and write it as a mixed number.
- Decimal → fraction — including repeating decimals such as 0.1666…
- Fraction → decimal and percent — with the exact repeating pattern.
How to use this calculator
- Choose the operation you need.
- Type the fraction(s). Leave a space between the whole part and the fraction in a mixed number (
2 1/4). A minus sign in front applies to the whole mixed number:-2 3/5means . - For arithmetic, pick +, −, × or ÷ between A and B.
- Read the simplified fraction, the mixed number and the decimal value. Open the steps to follow the method.
For a repeating decimal, put the repeating block in brackets: 0.(3) for 0.333… or 0.1(6) for 0.1666…
The formula
With and :
Every result is then simplified by dividing the numerator and denominator by their greatest common divisor, found with Euclid’s algorithm: with .
A mixed number comes from integer division: is 2 remainder 1, so . A mixed number converts back as .
A terminating decimal with decimal places is an integer over : . A repeating decimal with non-repeating digits and a repeating block of length equals (all the digits − the non-repeating digits) over nines followed by zeros: .
Worked example
Adding a mixed number and a fraction: .
- Write as .
- The least common denominator of 2 and 3 is 6, so and .
- Add the numerators: . The GCD of 13 and 6 is 1, so it is already in lowest terms.
- As a mixed number, ; as a decimal, .
Dividing: .
Simplifying: has GCD 6, so it reduces to .
Decimal to fraction: , and dividing by the GCD 125 gives .
Frequently asked questions
How do I add fractions with different denominators?
Rewrite both fractions over a common denominator — the least common multiple of the two denominators is the smallest choice — then add the numerators and simplify. For 1/4 + 1/6 the LCD is 12, giving 3/12 + 2/12 = 5/12.
Why do you flip the second fraction when dividing?
Dividing by a number is the same as multiplying by its reciprocal. Asking how many 2/5 fit into 3/4 is the same as computing 3/4 × 5/2, which is 15/8.
How do I know a fraction is in its simplest form?
A fraction is in lowest terms when the greatest common divisor of the numerator and denominator is 1. The calculator finds the GCD with Euclid’s algorithm and divides both parts by it in one step.
Can every decimal be written as a fraction?
Every terminating or repeating decimal can, and the calculator gives the exact fraction. Irrational numbers such as π or √2 never repeat, so any fraction is only an approximation; for long decimals the calculator also suggests the closest fraction with a denominator up to 1,000, such as 355/113 for 3.14159.
What is the difference between an improper fraction and a mixed number?
They are two ways of writing the same value. An improper fraction has a numerator at least as large as its denominator, like 13/6; the mixed number splits off the whole part, 2 1/6. Improper fractions are easier to calculate with, mixed numbers easier to picture.
Last updated: