Fraction Calculator
Enter two fractions to see the simplified result and its decimal.
Enter two fractions, pick an operation, and get the answer instantly. This fraction calculator adds, subtracts, multiplies, and divides fractions, then reduces the result to lowest terms and shows the decimal value. Whole numbers work too, and division by zero is handled safely.
How to use
- Type your first fraction in the form a/b, for example 1/2. A whole number like 5 also works.
- Choose an operation: add, subtract, multiply, or divide.
- Type your second fraction in the same form, for example 3/4.
- Read the simplified fraction and its decimal value in the result panel.
- Use Swap to flip the two fractions, or Copy result to grab the answer.
Examples
- 1/2 + 1/3 gives 5/6 (decimal 0.833333).
- 2/3 multiplied by 3/4 gives 1/2 (decimal 0.5).
- 1/2 divided by 1/4 gives 2 (decimal 2).
FAQs
- 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.