A nearest-multiple calculation finds the closest point on an evenly spaced number line.
Use it to round to pack sizes, time intervals, price increments, material lengths, or measurement steps.
The key rule
What stays true
17.6 → 7 × 2.5 = 17.5
See the idea
Visual explanation
1517.517.620
Example
Apply it
17.5 is closer to 17.6 than the next multiple, 20.
A tie needs an explicit rounding rule; the closest multiple is otherwise not unique.
Quick guide
How to use this calculator
Enter the value and positive multiple.
Choose the rounding rule.
Read the chosen multiple, step count, and exact distance moved.
Calculation method
Round the exact step count
The value is divided by the step as an exact rational. That quotient is rounded to an integer under the selected rule, then multiplied by the original step.
Worked example
Nearest multiple of 2.5
17.6 is nearer to seven steps (17.5) than eight steps (20).
17.6 → 7 × 2.5 = 17.5
Supported inputs
Precision and limits
Exact decimal input
Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.
Input boundary
Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.