A shunt is a high precision resistor that you can use to measure the current flowing through a circuit. According to Ohm's law, you can calculate the resistance of a shunt resistor by dividing the voltage drop across the shunt by current flowing through it. Shunt resistors are marked with power rating.