LED Resistor Value Calculator
Calculate the current-limiting resistor for an LED from supply voltage, LED forward voltage, and forward current. Returns the exact resistance, the nearest standard E12/E24 value (rounded up), power dissipation, and a safe resistor wattage rating. Supports LED colour presets and multiple LEDs in series or parallel.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Supply Voltage (V)
x >= 0.01LED Colour Preset
custom, red, orange, yellow, green, blue, white, uv, ir LED Forward Voltage (Vf)
x >= 0LED Forward Current
x >= 0.001Current Unit
mA, A Number of LEDs
1 <= x <= 20Configuration
series, parallel Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.