Lerp Number
Linear interpolate a to b by t.
Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t.
What Lerp Number does
Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t.
The interactive controls for Lerp Number load after this article so crawlers still read the instructions. Path /lerp-number is the canonical address. Work happens on this device; Tool-You does not take a copy of the file or pasted text for Lerp Number.
How to use Lerp Number
- Confirm you need Lerp Number, not Clamp Number (Clamp a value into [min, max].). Address: /lerp-number.
- Enter the numbers or dates Lerp Number uses. Linear interpolate a to b by t.
- Read the result as Lerp Number defines it — not as Percent of Total (Percent of total with remainder.). Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t.
- Lerp Number is an estimate in the browser, not professional advice. a, b, and t.
- Need a different formula? Try Percent of Total (Percent of total with remainder.) instead of stretching Lerp Number.
When not to use Lerp Number
Skip Lerp Number when a neighbor tool matches better — start with Clamp Number or Percent of Total — or when the description already warns the job will fail. In the tool’s own words: Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t.
Questions about Lerp Number
- What does Lerp Number do that other Calculate pages on this site do not?
- Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t. Short version: Linear interpolate a to b by t.
- Does Lerp Number upload my file or text to Tool-You servers?
- No. Lerp Number runs in this browser tab. Files stay on the device. Limit note: a, b, and t.
- Should I use Clamp Number instead of Lerp Number?
- Use Lerp Number when you need Linear interpolate a to b by t. Use Clamp Number when you need Clamp a value into [min, max]. They share a category (Calculate) but not the same job.
- What are the limits of Lerp Number?
- a, b, and t. Also: Computes a + (b−a)×t. Unlike Clamp Number this interpolates. Unlike Percent of Total this is not a share. Any finite a,b,t.