Shunt Resistor Calculator

Shunt Resistor Calculator

Full-scale current and a target sense voltage give the shunt — and then everything that goes wrong: the nearest standard value and its error, the dissipation and the wattage you really need, the temperature the shunt reaches, the temperature-coefficient error at that temperature, and how much a few milliohms of lead and solder cost you without a four-terminal connection.

Shunt value, dissipation, self-heating and the errors

Current + sense voltage → shunt
The largest current you have to read without clipping, including inrush and fault current if the same shunt has to survive them.
The classic compromise. 50, 75 or 100 mV are the traditional panel-meter standards; modern current-sense amplifiers are happy with 10–50 mV. More sense voltage means better signal-to-noise and worse dissipation, and the dissipation goes up with the SQUARE of the current.
Current-sense resistors are stocked in E24 and E96; precision parts go to E192 and to round values like exactly 5 mΩ. The page prints what the substitution costs so you can see whether it matters.
110 ppm/°C is Vishay’s figure for a WSL2512 at 5–6.9 mΩ; the improved WSK series is ±35 ppm/°C from 5 mΩ up, and Isabellenhütte’s MANGANIN alloy is ±10 ppm/K between 20 and 50 °C. Low-value parts are much worse: the same WSL2512 at 0.5–0.99 mΩ is ±400 ppm/°C. Use the figures from your part’s datasheet; typical values vary widely between manufacturers.
1 W for a 2512 Power Metal Strip, 0.5 W for a 2010, 0.25 W for a 1206. Use the figures from your part’s datasheet; typical values vary widely between manufacturers.
70 °C for almost every chip resistor. The full rating only applies at or below this.
170 °C for a Vishay WSL. The derating line between these two temperatures IS a thermal resistance: (170 − 70) ÷ 1 W = 100 °C/W.
A linear derating curve is a statement of thermal resistance and nothing else, so the first option needs no extra data. Use the second if you have a measured figure, or a board-level one that accounts for the copper the part is soldered to.
Only used in the second mode.
The temperature of the board around the shunt, which on a power board is rarely the room temperature.
Running a resistor at 50% of its rating in still air is the usual engineering derating, and it is what this page uses to work out the wattage you should specify.
What the amplifier has to reach. 3.3 V, or the reference of a dedicated current-sense ADC.
With a two-terminal connection this is in series with the shunt and is indistinguishable from it. A few millimetres of PCB track, a solder fillet and a via easily come to half a milliohm — which against a 5 mΩ shunt is a 10% error, and it drifts with temperature at copper’s 3,900 ppm/°C rather than the shunt’s tens.
High side keeps the load’s ground intact and sees a fault to ground, but the amplifier has to work at the bus voltage as a common mode. Low side is easy to amplify and puts a resistor in the ground return, which shifts the load’s ground and hides a short to chassis.
Only used to state the common-mode voltage a high-side amplifier has to survive — which for a motor drive means the supply plus whatever the switching node does to it.
A high-side shunt in series with the load, with a four-terminal (Kelvin) connection: the two sense tracks leave the shunt inside its current terminals, carry no load current of their own, and run as a tight pair to the amplifier. Everything in the sense path that DOES carry load current — track, via, solder — adds directly to the shunt and is indistinguishable from it, which is the error printed below. The dots are the load current; the shunt turns amber as its dissipation approaches the derating you asked for and red past its rating.
5mΩExample

10 A full scale into 50 mV, on a 1 W 2512 rated at 70 °C and derating to zero at 170 °C, with 110 ppm/°C and 0.5 mΩ of lead in the sense loop

Advertisement

Ohm’s law, and then the thermal loop it sits in

R = Vsense ÷ Ifull scale    P = I² · R
Rth = (Tzero power − Trated) ÷ Prated
Rhot = R·(1 + α(Tambient − 25)) ÷ (1 − α·R·I²·Rth)
Tshunt = Tambient + I²·Rhot·Rth
gain = VADC full scale ÷ (I · Rhot)
two-terminal error = Rleads ÷ Rshunt
alpha
the temperature coefficient in parts per million per degree. Manganin is about 10, a good metal-strip chip resistor 35 to 110, and a very low-value one 400
Rth
thermal resistance. A linear derating curve is exactly this: the temperature span divided by the rated power
the denominator
α·R·I²·R_th is the loop gain of the self-heating. At 1 the resistance is unbounded — thermal runaway
R leads
everything in the voltage-sense path that also carries load current. A four-terminal connection removes it by construction

Worked example

10 A full scale into 50 mV, on a 1 W 2512 rated at 70 °C and derating to zero at 170 °C, with 110 ppm/°C and 0.5 mΩ of lead in the sense loop
50 mV ÷ 10 A = 5 mΩ; the nearest E24 value is 5.1 mΩ, which is 2.0% high — a fixed scale error you calibrate out once, or avoid by going to E96
At full scale it dissipates 10² × 5.1 mΩ = 510 mW, which is 51% of a 1 W part — so at a 50% derating you want a part rated 1.026 W or more
The derating curve gives the thermal resistance directly: (170 − 70) ÷ 1 W = 100 °C/W, so the shunt settles at 76.3 °C — 51 °C above ambient, on a part whose ambient you probably thought was the specification
At 76.3 °C its resistance has risen 0.564%, so the sense voltage at full scale is 51.29 mV rather than 51 mV — and the amplifier needs a gain of 64.3 to reach 3.3 V
Finally the layout: 0.5 mΩ of track and solder inside the sense loop is 9.8% of a 5.1 mΩ shunt, which dwarfs everything above. A four-terminal connection removes it by construction; nothing else does

Temperature coefficients of real current-sense resistors

PartResistanceTCRNotes
Vishay WSL25120.5–0.99 mΩ±400 ppm/°C1 W at 70 °C, derating to zero at 170 °C
Vishay WSL25121–2.9 mΩ±275 ppm/°Csame package
Vishay WSL25125–6.9 mΩ±110 ppm/°Cthe default used here
Vishay WSL251250–100 mΩ±75 ppm/°Csame package
Vishay WSK25125 mΩ–0.2 Ω±35 ppm/°Cthe improved-stability version, four-terminal, 1 % down to 0.5 mΩ
Isabellenhütte MANGANIN alloy—±10 ppm/Kbetween +20 and +50 °C; 43 µΩ·cm resistivity and −1.0 µV/K against copper, which is why precision shunts are made of it
Two things to take from this. The TCR gets dramatically worse as the value falls, because there is less alloy and more terminal in the resistance — so the very low-value shunt that keeps the dissipation down is also the one whose reading drifts most. And the thermal EMF matters at these levels: a junction between two dissimilar metals in a temperature gradient generates microvolts, against a sense voltage of tens of millivolts, which is the other reason manganin is used.

High side or low side

High sideLow side
Wherebetween the supply and the loadbetween the load and ground
Common-mode voltage the amplifier seesthe full bus voltage, plus transientsnear ground
Load’s grounduntouchedlifted by the sense voltage, and it moves with the current
A short from the load to chassisshows up as currentinvisible
Amplifier neededa dedicated current-sense amplifier rated for the busalmost any op-amp
Typical usebattery packs, motor drives, anything where a ground fault matterslow-voltage supplies, where the ground shift is tolerable
The choice is not really about the shunt, it is about what you are willing to give up: common-mode range on one side, a clean ground and fault detection on the other. High side is harder and usually right.

The easy calculation and the four hard ones after it

A shunt is a resistor you have deliberately put in the path of the current you want to measure, chosen so the voltage across it is something you can amplify. The value is Ohm’s law and takes a second. Everything that makes current sensing difficult happens afterwards.

Dissipation goes as the square of the current. Halving the sense voltage halves the power, which is why the industry has moved from 100 mV panel-meter shunts to 10 or 25 mV parts with a dedicated amplifier — and why the traditional answer to a big current is a big piece of metal with its own bolt terminals rather than a chip resistor. The number to watch is not the wattage but the temperature: a 1 W 2512 derating linearly from 70 °C to 170 °C is telling you it has a thermal resistance of 100 °C/W, so half a watt puts it 50 °C above the board it is soldered to. That is a component running at 75 °C in a 25 °C room, and the specification sheet never says so in those words.

Then the resistance changes. Every shunt has a temperature coefficient, and at the temperature its own dissipation takes it to, that coefficient is usually the largest error in the measurement — larger than the tolerance, larger than the amplifier’s offset, and, unlike both of those, it moves with the load so a one-point calibration cannot remove it. Worse, the loop is regenerative: hotter means more resistance means more power means hotter. It converges for any sane part, and the closed form on this page makes the convergence condition explicit — its denominator is 1 − α·R·I²·Rth, and at zero you have thermal runaway. This is why precision shunts are manganin, at about ±10 ppm/K, rather than the ±110 to ±400 ppm/°C of an ordinary low-value chip resistor.

And then the layout undoes it all. A 5 mΩ shunt with half a milliohm of track, via and solder inside the voltage-sense path reads 10% high, and that half milliohm is copper, which drifts at 3,900 ppm/°C — ten to four hundred times worse than the shunt it is corrupting. The fix is a four-terminal, or Kelvin, connection: two terminals carry the load current and two entirely separate ones carry no current at all and sense the voltage at the resistive element itself. Four-terminal shunts have the pads for it; a two-terminal part can be Kelvin-connected by taking the sense tracks from the very inner edges of its terminations and routing them as a tight differential pair that joins nothing else on the way. At 5 mΩ this is not a refinement, it is the difference between an instrument and a guess.

High side or low side is a separate decision with no right answer. A low-side shunt is trivial to amplify and puts a resistor in the ground return, so the load’s ground now sits above system ground by the sense voltage and moves with the current — and a fault current that escapes to chassis never passes through the shunt at all. A high-side shunt leaves the ground alone and sees every fault, at the cost of an amplifier that has to work with its inputs sitting at the bus voltage and survive whatever the switching node does on top of it.

For a transformer instead of a resistor, which gives isolation and no dissipation but works only on AC, see the CT burden resistor calculator. For the amplifier see the non-inverting amplifier calculator, for the digitiser the ADC resolution calculator, for the thermal side the heatsink thermal resistance calculator, and for the same problem in a bridge, the load cell calculator.

Advertisement

Frequently asked questions

How do I calculate a shunt resistor value?

Divide the sense voltage you want at full scale by the full-scale current. 50 mV at 10 A is 5 mΩ. The hard part is choosing the sense voltage: more gives a better signal against the amplifier’s offset and noise, and costs power as the square of the current.

What power rating does a shunt resistor need?

At least I² × R, and in practice about twice that, because a resistor at its full rating is at the temperature where that rating derates to zero. Work with the temperature rather than the wattage: the derating curve gives you a thermal resistance, and that tells you how hot the part will actually get.

Why does my current reading drift as the load warms up?

Because the shunt is warming up too, and its resistance is rising with it. At 110 ppm/°C and a 50 °C rise that is 0.55%, which is more than the tolerance of the part. It is load-dependent, so it cannot be calibrated out at one point — a lower-TCR part, a lower sense voltage or more copper under the shunt are the real fixes.

What is a four-terminal (Kelvin) connection and do I need one?

Two terminals carry the load current and two separate ones sense the voltage at the element, carrying no current, so no lead or solder resistance appears in the measurement. You need one whenever the resistance in the sense path is a significant fraction of the shunt — which for anything below about 10 mΩ means always. Half a milliohm of track on a 5 mΩ shunt is a 10% error.

Should I sense on the high side or the low side?

Low side if the load will tolerate its ground moving and you do not care about faults to chassis; high side otherwise. High side needs an amplifier whose common-mode range covers the bus voltage and its transients, which is the whole reason dedicated current-sense amplifiers exist.

Why are precision shunts made of manganin?

Two reasons, both about temperature. Its resistance barely changes with it — Isabellenhütte specify ±10 ppm/K for MANGANIN between 20 and 50 °C against hundreds of ppm for ordinary resistance alloys — and its thermal EMF against copper is about −1 µV/K, so the junctions at each end do not generate a spurious signal when one is warmer than the other. Against a sense voltage of tens of millivolts, microvolts matter.

Related calculators

References

  1. Vishay Dale, Power Metal Strip Resistors, WSL. 1 W at 70 °C for the 2512, derating linearly to zero at 170 °C, and the TCR table reproduced above: ±400 ppm/°C at 0.5–0.99 mΩ, ±275 at 1–2.9 mΩ, ±110 at 5–6.9 mΩ and ±75 at 50–100 mΩ.
  2. Vishay Dale, WSK2512 Power Metal Strip Resistors, Improved Stability. The four-terminal version: 0.0005 to 0.2 Ω, 1.0 W at 70 °C, ±35 ppm/°C from 5 mΩ up, and “4-terminal design allows for 1 % tolerance down to 0.0005 Ω” with separate sense and current connections.
  3. Isabellenhütte, MANGANIN data sheet. Resistivity 43 µΩ·cm at 20 °C, temperature coefficient ±10 ppm/K between +20 and +50 °C, thermal EMF against copper −1.0 µV/K, and a maximum working temperature in air of +140 °C with a recommendation to stay below +60 °C for the highest-precision use.