Fraction Calculator
Enter a fraction to reduce it to lowest terms.
Paste a fraction to reduce it to lowest terms, type a decimal like 0.078125 to see it as an exact fraction, or enter two fractions and pick an operation. Every result is reduced by its greatest common divisor and shown with its decimal value, plus the mixed number when the fraction is improper. Everything runs in your browser, so nothing you type is sent anywhere.
How to use
- To simplify, keep the Simplify a fraction mode and enter one fraction such as 16/2704.
- To convert a decimal, choose Decimal to fraction and enter a value such as 0.078125.
- To work with two fractions, choose Add, subtract, multiply, divide and enter both in the form a/b.
- Read the reduced fraction, its decimal value, and the mixed number when the result is improper.
- Use Copy result to grab the answer, or Reset to clear every field.
Examples
- 16/2704 simplifies to 1/169 (decimal 0.005917).
- 0.078125 as a fraction is 5/64 exactly.
- 0.75 as a fraction is 3/4, and 2.5 becomes 5/2, or 2 1/2 as a mixed number.
- 1/2 + 1/3 gives 5/6 (decimal 0.833333).
- 2/3 multiplied by 3/4 gives 1/2 (decimal 0.5).
FAQs
- How do I convert a decimal to a fraction?
- Choose Decimal to fraction and type the value. A terminating decimal like 0.078125 converts exactly, because it is that many parts of a power of ten, then reduced by the greatest common divisor to give 5/64. A decimal with more places than can be written exactly is approximated, and the calculator says so rather than pretending the answer is exact.
- How do I simplify a fraction to its lowest terms?
- Enter one fraction in the Simplify a fraction mode. The calculator divides the numerator and denominator by their greatest common divisor, so 16/2704 becomes 1/169. The decimal value is shown alongside, and improper fractions also show the mixed number.
- How does the calculator simplify the result?
- It divides the numerator and denominator by their greatest common divisor, so the fraction is always shown in lowest terms. For example 2/4 becomes 1/2.
- Can I use whole numbers or negative values?
- Yes. Enter a whole number like 5 and it is treated as 5/1. You can also put a minus sign in front of either fraction, for example -2/3.
- What happens if I divide by zero?
- The calculator detects a zero denominator or division by a fraction equal to zero and shows a clear error instead of an invalid result. It never returns NaN or infinity.
- Why does the decimal sometimes look rounded?
- Repeating decimals like 1/3 cannot be written exactly, so the decimal is rounded to six places (0.333333) to avoid floating point noise. The fraction itself stays exact.
- Does the result keep the negative sign in the right place?
- Yes. The sign is always carried on the numerator and the denominator stays positive, so a negative answer reads as -1/2 rather than 1/-2.
Related tools
- Ratio CalculatorSimplify a ratio to its lowest terms with the GCD, or solve a proportion a:b = c:x for the missing value. Free and instant.
- Percentage Change CalculatorFind the percentage change between two numbers. See the increase or decrease and the exact difference instantly, with a guard for an old value of zero.
- Standard Deviation CalculatorCalculate mean, variance, and standard deviation for a data set. Get both population and sample results from comma, space, or newline separated numbers.
- Random Number GeneratorGenerate random integers between any min and max. Pick how many you need and choose unique values with no repeats. Free and runs in your browser.
- Age CalculatorCalculate exact age in years, months, and days between a birth date and any reference date. Handles leap years correctly. Free and private.
- Average CalculatorCalculate mean, median, mode, min, max, range, and sum for a list of numbers. Paste values and get instant stats. Free and private in your browser.