Fraction Calculator
Answer
Working, step by step
To work with percents directly, or to turn a percent back into a fraction, use our Percentage Calculator. For decimal arithmetic beyond fractions, our Scientific Calculator handles trig, logs, powers, and roots.
Last reviewed: 20 November 2026. Reviewed every 180 days; next review due 19 May 2027.
How to use the Fraction Calculator
Pick an operation at the top of the calculator: Add, Subtract, Multiply, Divide, Simplify, or To decimal. Then type your fractions into the boxes. Each fraction has three boxes: a whole number, a numerator, and a denominator. You only fill in the boxes you need.
To enter a simple fraction such as 3/4, type 3 in the numerator box and 4 in the denominator box and leave the whole number box empty. To enter a mixed number such as 2 1/4, type 2 in the whole number box, 1 in the numerator box, and 4 in the denominator box. To enter a whole number such as 5, type 5 in the whole number box and leave the other two boxes empty. To enter a negative fraction such as -3/4, type -3 in the numerator box. For a negative mixed number such as -1 1/2, make both the whole number and the numerator negative: whole -1 and numerator -1.
The answer updates as you type, and the calculator shows every step of the working below the answer. If you change your mind about the operation, tap a different button and the same numbers are recalculated at once. The Swap button, which appears for subtraction and division, trades the two fractions around, which is handy when you want to see the reverse calculation without retyping anything.
For Simplify and To decimal, only one fraction is needed, so the second fraction disappears. Simplify reduces a fraction to its lowest terms and shows the greatest common divisor it used. To decimal divides the numerator by the denominator and tells you whether the decimal ends or repeats, and which digits repeat.
Every answer appears in four forms: the simplified fraction, the mixed number when the answer is more than 1, the decimal, and the percent. A picture of the answer appears too, when the fraction is small enough to draw: filled bars show whole parts, and a partly filled bar shows the fractional part. The picture helps you check at a glance that the answer looks sensible before you trust it.
A few limits keep the arithmetic exact. Each number you type must be a whole number between -10,000 and 10,000, and a denominator cannot be zero. Decimals are rounded to 6 places, and the calculator always says so when a decimal repeats, so you never mistake a rounded decimal for the exact answer. The exact answer is always the fraction itself.
How it works
A fraction is a division written as two numbers with a line between them. The top number, the numerator, counts how many parts you have. The bottom number, the denominator, says how many equal parts the whole was cut into. The fraction bar means "divided by": 3/4 is the same as 3 divided by 4, which is 0.75. That one idea explains nearly everything the calculator does.
Adding and subtracting fractions
You can only add or subtract fractions that share a denominator, because the parts have to be the same size before you can count them together. If the denominators are different, the calculator first finds a common denominator: the least common multiple, or LCM, of the two denominators. The LCM is the smallest number that both denominators divide into exactly.
Take 1/2 + 1/3. The least common multiple of 2 and 3 is 6. The calculator converts each fraction: 1/2 becomes 3/6, because 1/2 = (1 x 3) / (2 x 3), and 1/3 becomes 2/6, because 1/3 = (1 x 2) / (3 x 2). Then it adds the numerators and keeps the denominator: 3 + 2 = 5, so the sum is 5/6. Finally it checks whether 5/6 can be simplified. Since 5 and 6 share no common factor greater than 1, the answer stays 5/6.
Subtraction works the same way, with one difference: it subtracts the second numerator from the first. For 3/4 - 1/3, the least common multiple of 4 and 3 is 12. Converting gives 9/12 - 4/12, and 9 - 4 = 5, so the difference is 5/12. When the second fraction is bigger than the first, the answer is negative: 1/2 - 3/4 = -1/4. The negative sign always sits on the numerator, in front of the fraction, never on the denominator. That is the standard way to write a negative fraction, and the calculator follows it even if you type the minus sign on the denominator: 1/-2 becomes -1/2 automatically.
When the two fractions already share a denominator, no conversion is needed. For 1/4 + 1/4, the calculator adds the numerators directly: 1 + 1 = 2, so the sum is 2/4, which simplifies to 1/2. And when only one fraction needs converting, only that one is converted. For 1/2 + 11/12, the least common multiple of 2 and 12 is 12, so 1/2 becomes 6/12 while 11/12 stays as it is, and 6 + 11 = 17 gives 17/12, which is 1 5/12 as a mixed number.
Multiplying fractions
Multiplication is simpler than addition: multiply the numerators together and multiply the denominators together. But before doing that, the calculator cancels common factors, which keeps the numbers small and often gives the simplified answer straight away. A factor shared by a numerator and the opposite denominator can be divided out of both, because it cancels to 1.
Take 2/3 x 3/4. The numerator 2 and the denominator 4 share the factor 2, and the numerator 3 and the denominator 3 share the factor 3. After cancelling, the product becomes 1/1 x 1/2, which is 1/2. Without cancelling, the raw product would be 6/12, which simplifies to 1/2 anyway, but cancelling first avoids the bigger numbers. Another example: 3/5 x 10/9. The 3 and the 9 share the factor 3, and the 10 and the 5 share the factor 5, so the product becomes 1/1 x 2/3, which is 2/3.
Mixed numbers are converted to improper fractions before multiplying. For 2 1/3 x 1 1/2, the calculator first works out 2 1/3 = 7/3 and 1 1/2 = 3/2. Then it cancels the 3s and multiplies: 7/1 x 1/2 = 7/2, which is 3 1/2 as a mixed number.
Dividing fractions
To divide fractions, flip the second fraction and multiply. The flipped fraction is called the reciprocal: the reciprocal of 2/5 is 5/2. So 3/4 divided by 2/5 becomes 3/4 x 5/2, which is 15/8, or 1 7/8 as a mixed number. The calculator shows the reciprocal step first, so you can see exactly which fraction was flipped.
Dividing by a fraction smaller than 1 gives an answer larger than the number you started with, which surprises many people. Half a pizza divided into quarter-pizza pieces gives 2 pieces: 1/2 divided by 1/4 = 2. That makes sense once you see division as asking "how many of these fit into that?" Two quarter pieces fit into a half.
Division by zero is not allowed, and the calculator says so plainly if the second fraction is 0. The reason is that no number multiplied by 0 gives a nonzero answer, so the question has no answer at all. It is not 0, and it is not infinity; it is undefined.
Simplifying fractions
Simplifying means dividing the numerator and the denominator by their greatest common divisor, or GCD: the largest number that divides both exactly. For 12/16, the greatest common divisor of 12 and 16 is 4, so 12/16 = 3/4. For -315/770, the greatest common divisor of 315 and 770 is 35, so -315/770 = -9/22. The calculator shows the GCD it found, so you can check the step yourself.
A fraction is in lowest terms when its numerator and denominator share no common factor greater than 1. For example, 7/3 is already in lowest terms, because 7 and 3 have no common factor. If the simplified result is more than 1, the calculator also shows it as a mixed number: 7/3 becomes 2 1/3.
Turning fractions into decimals
A fraction becomes a decimal by dividing the numerator by the denominator. Some decimals end: 1/8 = 0.125, 3/4 = 0.75, 5/8 = 0.625. These are called terminating decimals. Others go on forever, repeating the same digits: 1/3 = 0.333333..., 5/6 = 0.833333..., 1/7 = 0.142857142857... . These are repeating decimals, and the calculator names the repeating part, so you know exactly which digits repeat.
Whether a decimal ends or repeats depends only on the denominator, once the fraction is in lowest terms. If the denominator's only prime factors are 2 and 5, the decimal ends, because 2 and 5 are the prime factors of 10. A denominator of 8 is 2 x 2 x 2, so 1/8 ends. A denominator of 20 is 2 x 2 x 5, so 1/20 ends too, at 0.05. But a denominator of 3 has a prime factor other than 2 or 5, so 1/3 repeats. A denominator of 6 is 2 x 3, so 5/6 repeats as well, after a non-repeating digit: 0.833333..., where the 8 does not repeat but the 3 does.
To turn a decimal into a percent, multiply by 100. That is why 1/2 = 50 percent, 1/4 = 25 percent, and 1/3 = 33.3333 percent. If you need to work with percents more generally, the percentage calculator handles discounts, increases, and percent-of calculations.
Mixed numbers and improper fractions
A mixed number is a whole number plus a proper fraction: 1 1/2 means 1 + 1/2. An improper fraction is one whose numerator is as big as, or bigger than, its denominator: 3/2. They are two ways of writing the same value, and the calculator moves between them as needed. To turn a mixed number into an improper fraction, multiply the whole number by the denominator and add the numerator: 1 1/2 = (1 x 2 + 1) / 2 = 3/2. To go the other way, divide the numerator by the denominator: 7 divided by 2 is 3 with a remainder of 1, so 7/2 = 3 1/2.
Any whole number is a fraction with a denominator of 1: 5 is the same as 5/1. That is how the calculator adds a whole number to a fraction. For 5 + 1/3, it writes 5 as 5/1, converts to a denominator of 3 to get 15/3, and adds: 15/3 + 1/3 = 16/3, which is 5 1/3.
What your result means
Every answer from this calculator comes in four forms, and each form is useful in a different situation. The simplified fraction is the exact answer, and it is the form your teacher or textbook expects. The mixed number is the same answer written the way people usually say it: 1 1/2 instead of 3/2. The decimal is the form a calculator or a spreadsheet uses. The percent is the form for comparisons and discounts.
The simplified fraction is the most trustworthy of the four, because it is exact. A decimal can be rounded, and a rounded decimal is an approximation. The fraction 1/3 is exactly one third. The decimal 0.333333 is close to one third, but it is not exactly one third, and the difference matters if you multiply it back: 0.333333 x 3 = 0.999999, not 1. Whenever a result matters, work with the fraction and convert to a decimal only at the last step.
The mixed number appears only when the answer is more than 1. If the answer is a whole number, such as 2, no mixed number is shown, because there is no fractional part. If the answer is between -1 and 1, no mixed number is shown either. A negative mixed number such as -1 1/2 means -(1 + 1/2), which is -3/2. Both parts of a negative mixed number are negative, which is why the calculator asks you to enter both the whole number and the numerator as negative numbers.
The decimal is rounded to 6 places. When the decimal repeats, the calculator marks it with three dots and names the repeating digits, so you can write the exact repeating form if you need it: 1/7 = 0.142857..., with the block 142857 repeating forever. The percent is the decimal multiplied by 100, rounded to 4 places.
The fraction bars under the answer draw the result as filled and partly filled bars. Each full bar is one whole, and the last bar is filled to the fractional part. The picture only appears when the fraction is small enough to draw clearly: the denominator must be 24 or less, and the value must be between -3 and 3. It is a quick sense check, not a substitute for the numbers. If the picture and your expectation disagree, read the steps: they show exactly how the answer was reached.
Signs follow one simple rule: the sign of a fraction lives on the numerator. A positive divided by a negative is negative, and a negative divided by a negative is positive, just as with whole numbers. So -7/18 divided by -14/27 is positive 3/4, because two negatives cancel. The calculator normalizes any sign you type on the denominator, moving it to the numerator, so -1/2, 1/-2, and -(1/2) all come out as -1/2.
Common fractions and their decimals
Some fractions come up so often that it pays to know their decimals and percents by heart. The table below lists the most useful ones. The decimals are rounded to 6 places and the percents to 4 places, exactly as this calculator shows them. Fractions marked with an asterisk have repeating decimals: the digits go on forever, so the decimal shown is rounded.
| Fraction | Decimal | Percent | Notes |
|---|---|---|---|
| 1/2 | 0.5 | 50% | One half |
| 1/3 | 0.333333 * | 33.3333% | Repeats: 3 |
| 2/3 | 0.666667 * | 66.6667% | Repeats: 6 |
| 1/4 | 0.25 | 25% | One quarter |
| 3/4 | 0.75 | 75% | Three quarters |
| 1/5 | 0.2 | 20% | One fifth |
| 2/5 | 0.4 | 40% | Two fifths |
| 1/6 | 0.166667 * | 16.6667% | Repeats: 6 |
| 5/6 | 0.833333 * | 83.3333% | Repeats: 3 |
| 1/8 | 0.125 | 12.5% | One eighth |
| 3/8 | 0.375 | 37.5% | Three eighths |
| 5/8 | 0.625 | 62.5% | Five eighths |
| 7/8 | 0.875 | 87.5% | Seven eighths |
| 1/10 | 0.1 | 10% | One tenth |
| 1/12 | 0.083333 * | 8.3333% | Repeats: 3 |
| 1/16 | 0.0625 | 6.25% | One sixteenth |
Notice the pattern in the eighths: 1/8 = 0.125, 2/8 = 0.25, 3/8 = 0.375, and so on, stepping by 0.125 each time. That is because 1/8 is 125 thousandths, and every eighth adds another 125 thousandths. The quarters step by 0.25, and the sixteenths step by 0.0625. Knowing one value in a family gives you the rest by adding the step.
The repeating fractions are the ones to watch. A third is not 0.33, and two thirds is not 0.67, except as rough approximations. In money or measurement, that rounding can add up: three payments of 0.33 dollars total 0.99 dollars, not 1 dollar, while three exact thirds total exactly 1. The calculator marks repeating decimals so you can see when a value is exact and when it is rounded.
Fractions in everyday life
Cooking and recipes
Recipes are written in fractions: 3/4 cup of flour, 2/3 cup of sugar, 1/2 teaspoon of salt. Halving a recipe means multiplying every fraction by 1/2, and doubling means multiplying by 2. Half of 3/4 cup is 3/8 cup, because 3/4 x 1/2 = 3/8. Half of 2/3 cup is 1/3 cup, because 2/3 x 1/2 = 2/6 = 1/3. Doubling 3/4 cup gives 3/2 cups, which is 1 1/2 cups. These are exactly the calculations this calculator does, with the steps shown, so you can check the halving before you start measuring.
Measuring cups and spoons come in fractions too: 1 cup, 1/2 cup, 1/3 cup, 1/4 cup, and 1 tablespoon, 1 teaspoon, 1/2 teaspoon, 1/4 teaspoon. If you need 3/4 cup but only have a 1/4 cup measure, three scoops do it, because 1/4 + 1/4 + 1/4 = 3/4. If a recipe calls for 2/3 cup and you only have a 1/3 cup measure, two scoops do it.
Measuring and building
A tape measure in inches is a fraction ruler. Each inch is divided into 16 equal parts, and every mark is a sixteenth of an inch. The marks get longer as the fraction gets simpler: the 1/2 inch mark is the longest, the quarter marks are next, then the eighths, and the sixteenth marks are the shortest. Reading a tape measure means reading fractions and simplifying them: a measurement at the 12th sixteenth mark is 12/16, which simplifies to 3/4 inch.
| Sixteenths | Simplified | Decimal inches |
|---|---|---|
| 1/16 | 1/16 | 0.0625 |
| 2/16 | 1/8 | 0.125 |
| 3/16 | 3/16 | 0.1875 |
| 4/16 | 1/4 | 0.25 |
| 5/16 | 5/16 | 0.3125 |
| 6/16 | 3/8 | 0.375 |
| 7/16 | 7/16 | 0.4375 |
| 8/16 | 1/2 | 0.5 |
| 9/16 | 9/16 | 0.5625 |
| 10/16 | 5/8 | 0.625 |
| 11/16 | 11/16 | 0.6875 |
| 12/16 | 3/4 | 0.75 |
| 13/16 | 13/16 | 0.8125 |
| 14/16 | 7/8 | 0.875 |
| 15/16 | 15/16 | 0.9375 |
Builders work with fractions constantly: cutting a board, spacing studs, or adding two measurements. Adding 5 3/8 inches and 2 1/4 inches is a fraction addition: convert to eighths, 5 3/8 + 2 2/8 = 7 5/8 inches. If you work in both inches and millimeters, the unit converter changes between the two systems, and this calculator handles the fraction arithmetic itself.
Money and discounts
A discount of 1/4 off is a 25 percent discount, and a price cut by 1/3 is a 33.3333 percent cut. Splitting a bill three ways means each person pays 1/3 of the total. If the bill is 90 dollars, each share is exactly 30 dollars, because 90 x 1/3 = 30. But if the bill is 100 dollars, each share is 33 1/3 dollars, which cannot be paid exactly in cents: 33.33 dollars each totals 99.99 dollars, a cent short. That is a repeating decimal in real life, and the exact answer is the fraction 100/3 dollars, not the rounded decimal.
Time
Time is full of fractions. A quarter of an hour is 15 minutes, because 60 x 1/4 = 15. A third of an hour is 20 minutes, because 60 x 1/3 = 20. Half an hour is 30 minutes. This is no accident: the ancient Mesopotamians counted in base 60, and that system survives in our 60 minutes per hour, 60 seconds per minute, and 360 degrees in a circle. Base 60 is convenient precisely because 60 has so many divisors: halves, thirds, quarters, fifths, sixths, tenths, and twelfths all come out as whole numbers of minutes.
A short history
Fractions are among the oldest mathematics we know. Egyptian scribes, around 1800 BCE, worked mostly with unit fractions, fractions with a numerator of 1, such as 1/2, 1/3, and 1/4, and wrote other fractions as sums of unit fractions. The Babylonians used base-60 fractions, which is why their system still shapes our clocks and circles. The modern way of writing fractions, one number over another with a horizontal bar, came much later, through Indian and Arab mathematicians, and reached Europe in the 1200s. The rules in this calculator, common denominators, cross-cancelling, and simplifying by the greatest common divisor, are the same rules schoolchildren have learned for centuries, because they follow directly from what a fraction means.
Common mistakes to avoid
Adding the denominators
The most common fraction mistake is adding the denominators: 1/2 + 1/3 is not 2/5. Adding denominators treats the parts as if they were the same size, but halves and thirds are different sizes. The right answer is 5/6, which is much bigger than 2/5: 5/6 is about 0.83, while 2/5 is 0.4. Always find a common denominator first, then add the numerators only.
Adding without a common denominator
A related mistake is adding the numerators while leaving the denominators alone: 1/2 + 1/4 is not 2/4. The halves must become quarters first: 1/2 = 2/4, so 2/4 + 1/4 = 3/4. The calculator shows the conversion step every time, so you can see which fractions were converted and by how much.
Multiplying across for addition
Multiplication goes straight across, but addition does not. It is easy to mix the two up under time pressure. A good habit is to check the size of your answer: adding two positive fractions must give an answer bigger than either one. If your addition answer is smaller than one of the numbers you added, something went wrong.
Flipping the wrong fraction
When dividing, only the second fraction is flipped. For 3/4 divided by 2/5, the reciprocal is 5/2, and the calculation is 3/4 x 5/2 = 15/8. Flipping the first fraction instead gives 4/3 x 2/5 = 8/15, which is the reciprocal of the right answer. The calculator's first division step names the reciprocal, so you can check that the right fraction was flipped.
Forgetting to simplify
An unsimplified answer is not wrong, but it is unfinished. A teacher marking 2/4 when the answer is 1/2 will usually count it as incomplete, and an unsimplified answer hides the value: 12/16 does not look like 3/4 until you simplify it. The calculator always simplifies, and shows the greatest common divisor it divided by, so you learn to spot the simplification yourself.
Reading a mixed number as a two-digit number
The mixed number 1 1/2 is not 11/2. It is 1 + 1/2, which is 3/2. The space between the whole number and the fraction means "plus", not a digit boundary. Likewise, 2 1/4 is 9/4, not 21/4. When you type a mixed number into this calculator, the whole number goes in its own box, which keeps the two parts separate.
Rounding a repeating decimal too early
Writing 1/3 as 0.33 and then using 0.33 in further calculations loses accuracy with every step. Three thirds make exactly 1, but three lots of 0.33 make 0.99. The safe habit is to keep fractions as fractions until the final answer, and to round only at the end. This calculator does exactly that: every step works with exact fractions, and the decimal appears only at the end, marked as rounded when it repeats.
Dividing by zero
Division by zero has no answer, and neither does a fraction with a zero denominator. If you type a denominator of 0, the calculator explains the problem instead of giving a made-up answer. A fraction with a numerator of 0 is fine: 0/5 is 0, because zero parts out of five is still zero.
Frequently asked questions
How do you add fractions with different denominators?
Find the least common multiple of the two denominators, convert each fraction to that denominator, add the numerators, and simplify. For 1/2 + 1/3, the least common multiple of 2 and 3 is 6, so 1/2 becomes 3/6 and 1/3 becomes 2/6, and 3 + 2 = 5 gives 5/6.
How do you divide fractions?
Flip the second fraction and multiply. The flipped fraction is called the reciprocal. For 3/4 divided by 2/5, the reciprocal of 2/5 is 5/2, so the calculation becomes 3/4 x 5/2 = 15/8, which is 1 7/8 as a mixed number.
How do you simplify a fraction?
Divide the numerator and the denominator by their greatest common divisor, the largest number that divides both exactly. For 12/16, the greatest common divisor of 12 and 16 is 4, so 12/16 = 3/4. A fraction is in lowest terms when its numerator and denominator share no common factor greater than 1.
How do you turn a fraction into a decimal?
Divide the numerator by the denominator. For 3/4, 3 divided by 4 is 0.75. Some decimals end, like 1/8 = 0.125, and some repeat forever, like 1/3 = 0.333333..., because the denominator has a prime factor other than 2 or 5.
How do you turn a mixed number into an improper fraction?
Multiply the whole number by the denominator and add the numerator, then put the result over the same denominator. For 1 1/2, that is (1 x 2 + 1) / 2 = 3/2. To go back, divide the numerator by the denominator: 7 divided by 2 is 3 with a remainder of 1, so 7/2 = 3 1/2.
Why does 1/3 as a decimal go on forever?
Because the denominator 3 has a prime factor other than 2 or 5, and only denominators made of 2s and 5s give decimals that end. When you divide 1 by 3, the remainder is always 1, so the digit 3 repeats forever: 0.333333.... The exact value is the fraction 1/3, and any decimal you write for it is rounded.
What is 1/2 + 1/3?
1/2 + 1/3 = 5/6. The least common multiple of 2 and 3 is 6, so 1/2 becomes 3/6 and 1/3 becomes 2/6, and 3 + 2 = 5 gives 5/6. As a decimal, 5/6 is 0.833333..., with the digit 3 repeating, which is 83.3333 percent.
Can a fraction have a negative denominator?
A negative denominator is allowed in the arithmetic, but by convention the sign is moved to the numerator, so 1/-2 is written as -1/2. This calculator normalizes the sign automatically: whatever sign you type on the denominator ends up on the numerator in the answer.
Sources
The worked examples and methods on this page follow standard school mathematics, checked against the references below. All sources were accessed on 20 November 2026.
- Khan Academy — Adding fractions with unlike denominators: the least common multiple method, with worked examples including 9/10 + 1/6 = 16/15 and 1/2 + 11/12 = 17/12.
- LibreTexts — Fractions, Clackamas Community College MTH65: definitions, the Equivalent Fractions Property, simplifying by the greatest common divisor, and worked examples including -315/770 = -9/22, -7/18 divided by -14/27 = 3/4, and 7/12 + 5/18 = 31/36.
- Maths is Fun — Convert Fractions to Decimals: the fraction bar means divided by, terminating decimals such as 5/8 = 0.625, and repeating decimals such as 1/3.
- HomeGuide — How to Read a Tape Measure: the 16 divisions per inch and the sixteenths table, including 12/16 = 3/4.
For more arithmetic tools, see the scientific calculator and the percentage calculator, or browse all tools on the Tools Elite homepage.