555 Timer & LED Resistor Calculator
Astable frequency, duty cycle and LED current-limiting resistor values
555 Timer Astable Mode Calculator
Calculate frequency, period, duty cycle, and high/low time for a 555 timer in astable (free-running) mode. The waveform preview updates in real-time.
LED Series Resistor Calculator
Calculate the correct current-limiting resistor value, nearest E24 standard value, power dissipation, and recommended wattage rating for an LED circuit.
555 Astable Timing in Practice
In astable mode the 555 free-runs, charging C1 through R1 and R2 in series and discharging it through R2 alone. That asymmetry is the whole character of the circuit: the output high time is 0.693 × (R1 + R2) × C1, the low time is 0.693 × R2 × C1, and frequency works out as 1.44 ÷ ((R1 + 2R2) × C1). Because R1 only ever appears in the charge path, a classic astable can never quite reach a 50% duty cycle — it can only approach it as R2 grows much larger than R1. Anyone chasing an exact square wave needs a steering diode across R2 or a different topology, not a different resistor.
Choosing sensible components
The maths will happily accept values the chip will not. Keep R1 above about 1 kΩ so the discharge transistor is not asked to sink excessive current, and keep the total timing resistance below a few megohms, above which leakage and the chip’s own bias currents start to dominate and timing drifts with temperature and humidity. For the capacitor, prefer film or ceramic for anything you want to be repeatable; electrolytics have wide tolerances and their value moves with age, which is why a decade-old timer circuit so often runs at the wrong rate. If a built circuit does not match the calculation, measure the actual capacitor before doubting the formula.
LED resistors: nominal value is only half the job
The series resistor follows straight from Ohm’s law — supply voltage minus LED forward voltage, divided by the target current — but two details decide whether the circuit survives. First, forward voltage depends on colour: roughly 1.8 – 2.1 V for red, and 3.0 – 3.4 V for blue, white and most greens. Using 2 V for a white LED on a 5 V rail understates the resistor badly and overdrives the part. Second, resistors are only sold in standard steps, so the calculator gives the nearest E24 value alongside the exact figure; round up whenever you care about LED lifetime.
Wattage headroom
Dissipation in the resistor is current squared times resistance, and a part run at its rated power will get genuinely hot. The recommended rating shown here already includes headroom — fitting a 0.25 W part where the maths says 0.2 W is asking for a discoloured board and a drifting value. The same reasoning is set out in full on the Ohm’s law and power calculator, and the resistor code calculator will confirm what you have actually pulled out of the drawer.