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.
Check an op-amp's closed-loop bandwidth from its gain-bandwidth product and noise gain, and the slew rate a sine wave of a given frequency and amplitude needs.
Choose Non-inverting or Inverting and enter the gain.
Enter the gain-bandwidth product and the slew rate from the data sheet.
Optionally enter the signal frequency and the output amplitude, and say whether it is peak or peak-to-peak.
Read the closed-loop bandwidth, the gain error at your frequency, the slew rate needed and which limit binds.
Copy result copies labeled values; Reset restores the starting fields.
A voltage-feedback op amp's open-loop gain falls by 20 dB per decade above a low dominant pole, so gain × frequency is roughly constant: the gain-bandwidth product. With feedback the closed-loop gain stays flat until the open-loop gain falls to the noise gain, 1 + RF ÷ RG, so the bandwidth is GBW ÷ noise gain.
Noise gain is not always the signal gain. A non-inverting stage with gain 10 has noise gain 10; an inverting stage with gain −10 has noise gain 11, and a unity-gain inverter has noise gain 2 and half the bandwidth of a follower.
Below the −3 dB point the gain already droops: at a fifth of the bandwidth it is 2 % low. Keeping the error under 1 % needs about seven times more bandwidth than the signal frequency times the noise gain.
Slew rate is the fastest the output can change. A sine of peak Vp at frequency f changes at up to 2π × f × Vp, so large outputs at high frequency need more slew rate. The full-power bandwidth is the frequency at which a given peak reaches the slew limit.
Limitations: the single-pole model ignores second poles, peaking, phase margin, settling and current-feedback op amps. Full-power bandwidth marks where visible distortion begins, not a distortion level; data sheets often add slew boost. The tool does not check output swing (see the common-mode and output-swing check) and assumes sine signals.
Noise gain: NG = 1 + RF ÷ RG. Non-inverting NG = G; inverting NG = 1 + |G|.
Bandwidth: f_CL = GBW ÷ NG.
Gain at f: |A(f)| ÷ |G| = 1 ÷ sqrt(1 + (f ÷ f_CL)²); phase lag = −atan(f ÷ f_CL).
GBW needed: GBW_3dB = NG × f; GBW_1% = 7.018 × NG × f.
Slew: SR_req = 2π × f × Vp; FPBW = SR ÷ (2π × Vp); Vp = Vpp ÷ 2.
Non-inverting gain 10, GBW 1 MHz, 10 kHz: 100 kHz bandwidth; gain −0.4963 % (−0.04 dB), phase −5.7°. 1 MHz ÷ 10; 10 kHz is a tenth of the bandwidth.
Inverting gain −1, GBW 1 MHz: 500 kHz, not 1 MHz. Common mistake: the noise gain of a unity-gain inverter is 2.
SR 0.5 V/μs, 10 V peak at 10 kHz: needs 0.6283 V/μs: slew-limited; full-power bandwidth 7.958 kHz; largest peak at 10 kHz 7.958 V. 2π × 10,000 × 10 = 628,319 V/s.
20 V peak-to-peak at 10 kHz: 10 V peak, 0.6283 V/μs. Common mistake: using 20 V doubles the slew rate needed.
Gain 10, GBW 1 MHz, 100 kHz: −3.01 dB, phase −45°. Boundary: the signal is at the closed-loop bandwidth.
TI: Understanding Operational Amplifier Specifications (SLOA011B)
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 →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)