Map Range

Map a value between two ranges.

Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails.

What Map Range does

Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails.

Map Range sits in the Calculate group on purpose. It is not Normalize 0–1 (Map a value into 0–1.) and not Lerp Number (Linear interpolate a to b by t.). Choose this page when you need Map a value between two ranges. If you stretch Map Range into a neighbor’s job, the result will look wrong even though the site chrome looks the same.

How to use Map Range

  1. Confirm you need Map Range, not Normalize 0–1 (Map a value into 0–1.). Address: /map-range.
  2. Enter the numbers or dates Map Range uses. Map a value between two ranges.
  3. Read the result as Map Range defines it — not as Lerp Number (Linear interpolate a to b by t.). Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails.
  4. Map Range is an estimate in the browser, not professional advice. inMin ≠ inMax.
  5. Need a different formula? Try Lerp Number (Linear interpolate a to b by t.) instead of stretching Map Range.

When not to use Map Range

Skip Map Range when a neighbor tool matches better — start with Normalize 0–1 or Lerp Number — or when the description already warns the job will fail. In the tool’s own words: Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails.

Questions about Map Range

What does Map Range do that other Calculate pages on this site do not?
Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails. Short version: Map a value between two ranges.
Does Map Range upload my file or text to Tool-You servers?
No. Map Range runs in this browser tab. Files stay on the device. Limit note: inMin ≠ inMax.
Should I use Normalize 0–1 instead of Map Range?
Use Map Range when you need Map a value between two ranges. Use Normalize 0–1 when you need Map a value into 0–1. They share a category (Calculate) but not the same job.
What are the limits of Map Range?
inMin ≠ inMax. Also: Linearly maps from [inMin,inMax] to [outMin,outMax]. Unlike Normalize 0–1 this targets any out range. Unlike Lerp Number this uses explicit in/out bounds. inMin=inMax fails.