This calculator is based on Ohm's Law, but takes into consideration the voltage drop from the LED. To use the calculator, enter any three known values and press "Calculate" to solve for the others.
To calculate the resistor needed for a simple LED circuit, simply take the voltage drop away from the source voltage then apply Ohm's Law.