Ideal Shunt Value: $R_{shunt} = \frac{V_{shunt\_max}}{I_{max}}$
Required Gain: $A_v = \frac{V_{ADC\_max}}{V_{shunt\_max}} = \frac{V_{ADC\_max}}{I_{max} \cdot R_{shunt}}$
Power Dissipation: $P = I_{max}^2 \cdot R_{shunt}$ (Verify the resistor’s ratings and derating curve separately)
Resolution: $I_{LSB} = \frac{V_{ADC\_max}}{2^N \cdot A_v \cdot R_{shunt}}$ (where $N$ is the ADC bit depth).
Ideal unipolar shunt/amplifier scaling: Rshunt = Vshunt/Imax, gain = Vadc/Vshunt, shunt loss = Imax²R. ADC step size is full-scale/2ⁿ. Uses the ADC full-scale voltage as the target output; actual designs need output headroom. Offset, common-mode range, bandwidth, noise, tolerances and overload ratings are not modeled.