Fraction calculator
calc_fractionCompute exact fraction math with big integers—solve expressions, convert decimals (including repeating), and compare fractions with worked steps and no rounding.
Instructions
Exact fraction maths with big integers (never rounded) and worked steps. calculate: an expression with fractions, mixed numbers ("1 1/2"), decimals and repeating decimals ("0.(3)"), + − × ÷ ^ and brackets (a/b binds tighter than ÷). decimal_to_fraction: "0.75", "0.1(6)" (brackets mark the repeating part), with close small-denominator approximations. fraction_to_decimal: exact decimal with the repeating block, and percent. compare: put two or more fractions in order. Web version: https://s3eidat.github.io/fraction-calc/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to do. | calculate |
| input | Yes | calculate: "1 1/2 + 3/4 × 2/5"; decimal_to_fraction: "0.1(6)"; fraction_to_decimal: "5/7"; compare: "2/3, 3/5, 7/10". |