THE ENGINEER'S TOOLKIT / FIXED-POINT

Get your
scaling right.

Convert between datatypes, physical ranges, and scaling parameters for embedded systems.

YOUR SCALING SUMMARY

C implementation

One tool. Three workflows.

01 / Datatype to Range

Validate an existing scaling definition. Enter a datatype, resolution, and optional bias to calculate raw and physical ranges.

02 / Range to Scaling

Choose a datatype and physical range. Resolution rounds up to a power of two so the complete range fits.

03 / Range to Best Datatype

Enter a physical range and desired resolution. Find the smallest suitable standard datatype, with an offset bias.

Conversions use physical = raw × LSB + bias. Quantization error assumes rounding to the nearest integer. Check bounds before casting in C.