Add, subtract, multiply or divide fractions and mixed numbers, with a reduced exact answer and an explicitly truncated decimal.
Your input
Outputs are cleared when the input changes.
Result
Enter your data or use the example, then run the tool.
Worked example
1/2 + 1/3 gives the exact reduced fraction 5/6. Its displayed decimal is truncated, not rounded or claimed to terminate.
1 1/2 × 2/3 equals 1. A negative mixed number such as -1 1/2 means -(1 + 1/2), not -1 + 1/2.
Method
Represent values as integer numerator and denominator using BigInt. Normalize a negative denominator, perform the selected rational operation and divide numerator and denominator by their greatest common divisor.
The working shows the operation before reduction and the reduced answer. Decimal digits are generated by integer long division and truncated after 12 fractional places; the fraction remains exact.
Limits
Zero denominators and division by a zero fraction are rejected. Every entered integer component is limited to 100 digits to keep the calculation bounded.
This is a two-number arithmetic tool, not an expression evaluator or symbolic algebra system. Scientific notation, repeating-decimal notation and natural-language ranges are not interpreted.
Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.
When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.