Electrical Energy Calculator
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open toolInteractive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.
Calculate 555 timer astable frequency, period and duty cycle, or monostable pulse width, from timing resistors and capacitor.
Choose Astable for a free-running oscillator or Monostable for a one-shot pulse.
Enter the timing resistors with their units: R_A and R_B for astable, or drag the R_B slider; R for monostable.
Enter the timing capacitor and choose its unit.
Leave the threshold empty for a standard 555 with CONT unconnected or decoupled; enter a percentage only if you drive the CONT pin.
Read the frequency, times and duty cycle, or the pulse width, and the waveform. Copy result copies the labeled values. Reset restores the starting example.
Inside the 555, three equal resistors set two comparator references: 2/3 of the supply at the threshold input and 1/3 at the trigger input. The supply voltage cancels out of the timing, so the times depend only on the resistors, the capacitor and those ratios.
In astable mode the capacitor charges through R_A and R_B from 1/3 to 2/3 of the supply while the output is high, then discharges through R_B alone back to 1/3 while the output is low. Each half takes ln 2 ≈ 0.693 time constants, so the high time is always longer than the low time and the duty cycle stays above 50 %.
In monostable mode a trigger pulse sets the output high and releases the capacitor, which charges through R from 0 to 2/3 of the supply. That takes ln 3 ≈ 1.1 time constants, after which the output returns low and the capacitor is discharged.
Data sheets round the constants to 0.693, 1.44 and 1.1, which is why other calculators differ in the third digit; this tool uses the exact ln 2 and ln 3 and shows the rounded result beside it. Many designers keep R_A at 1 kΩ or more to limit the discharge-pin current.
Limitations: the tool assumes ideal thresholds and an ideal capacitor. The very first astable cycle after power-up is longer, because the capacitor starts from 0 V. Capacitor tolerance (often 10 % or 20 %), leakage in electrolytics and the 555's own timing error dominate real accuracy, and at high speed the 555's internal delays lengthen the times. Duty cycles below 50 % (diode-steered circuits) and solving for parts from a target frequency are not covered, and the tool suggests no standard values.
Astable high time: t_H = ln 2 × (R_A + R_B) × C. Times in s, R in Ω, C in F.
Astable low time: t_L = ln 2 × R_B × C.
Frequency: f = 1 ÷ (t_H + t_L) = 1 ÷ (ln 2 × (R_A + 2 × R_B) × C) ≈ 1.44 ÷ ((R_A + 2 × R_B) × C).
Duty cycle: D = (R_A + R_B) ÷ (R_A + 2 × R_B) × 100 %.
Monostable pulse: t_W = ln 3 × R × C ≈ 1.1 × R × C.
Other thresholds: With upper threshold u and lower u ÷ 2 (fractions of V_CC): t_H = (R_A + R_B) C ln((1 − u ÷ 2) ÷ (1 − u)), t_L = R_B C ln 2, t_W = R C ln(1 ÷ (1 − u)).
Astable, R_A 1 kΩ, R_B 10 kΩ, C 10 μF: f = 6.87 Hz, duty cycle 52.38 %. t_H = 0.6931 × 11 kΩ × 10 μF = 76.25 ms; t_L = 69.31 ms. The rounded 1.44 constant gives 6.857 Hz.
Monostable, R 100 kΩ, C 10 μF: t_W = 1.099 s. 1.0986 × 100 kΩ × 10 μF. The data sheet's 1.1 R C gives 1.1 s.
Astable, R_A 1 kΩ, R_B 1 kΩ, C 1 μF, expecting 50 % duty: f = 480.9 Hz, duty cycle 66.67 %. Equal resistors do not give a square wave: the high time uses R_A + R_B and the low time only R_B. Make R_B much larger than R_A, or use a diode-steered circuit.
Texas Instruments: NE555 precision timer data sheet (SLFS022)
Available now
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open tool →Available now
Add up to 20 resistors in series using Ω, kΩ or MΩ for circuit analysis and electricity calculations, with a diagram and running total.
Open tool →Available now
Convert absolute temperatures between Celsius, Fahrenheit and kelvin.
Open tool →Nice audio board working as expected.
Given the fact that this was my first purchase and I made it thinking I was buying genuine Yihua products, this has been a setback. I received a lesser known OEM brand called MYTO and while both the products seem to be similar from appearance, my real contention is the quality and quantity of the brass wool. On top of that not informing the customer about the unavailability of the Yihua product and instead sending a product from a different brand is also antagonising. Henceforth, I might just have to think twice before ordering from ThinkRobotics.
TOF MINIF Range Sensor - UART TOF Time-of-Flight Laser Range Sensor
We are disappointed with our recent order experience. We clearly communicated our requirement for 433 MHz antennas on WhatsApp, but the issue remains unresolved. We have been following up for more than 10 days and are still waiting for a proper refund resolution.
As a regular B2B customer, we expected better support. This experience has affected our trust in ThinkRobotics, and we may have to consider other suppliers for future purchases. We request a fair and prompt refund.
Anodised Aluminium Cup Head Washers (Pack of 10)