ELECTRICAL

Electrical utilities

Formulas for electrical and audio work: voltage drop, Ohm’s law, resistors, power factor, batteries, speaker boxes, crossovers, room acoustics.

Electrical and audio calculations that rest on physics rather than on a code book: voltage drop from conductor resistance, Ohm’s law and the power triangle, resistor networks, power factor, transformer and battery sizing, what a load costs to run — and on the audio side speaker enclosures and crossovers, tempo and pitch, room modes and reverberation. The formulas and the physical constants are shown with their sources, and the pages say what they do not decide — conductor ampacity, protection, and installation rules come from the code that applies to you, not from here.

Electrical utilities

36 utilities

Power & supply8

  • Estimate

    Generator & Inverter Sizing

    Running and peak load of a list of appliances and motors with their starting surge, in W and kVA at your power factor and margin; DC amps for a battery inverter

    You get: The running load and the peak when the largest motor starts, both in watts and kVA with your margin, the load that sets the peak, and the battery current an inverter would draw.

    Open Generator & Inverter Sizing
  • Calculate

    Heat Sink Calculator

    The junction-to-air thermal chain θ_jc + θ_cs + θ_sa, solved for the sink a design needs, the junction temperature a sink gives, or the power it allows.

    You get: The thermal budget left after your derating, the sink resistance required in K/W, junction, case and sink temperatures with the headroom, the share of the rise each stage takes, and the power limit.

    Open Heat Sink Calculator
  • Calculate

    LM317 Voltage Regulator Calculator

    Output of an LM317-type adjustable regulator from R1, R2 and the datasheet reference, or R2 for a target output, with dropout check and dissipation.

    You get: The resistor pair that sets the output you want and whether the input and the heatsink can support it — using the reference, adjust current and dropout from the part you are actually using.

    Open LM317 Voltage Regulator Calculator
  • Calculate

    Power Factor Correction

    Capacitor kvar to raise a load’s power factor from where it is to your target, the current and kVA it frees, and the µF per phase for a delta or wye bank.

    You get: The reactive power the capacitor bank must supply, the apparent power and current before and after, and the capacitance each phase needs at your voltage and frequency.

    Open Power Factor Correction
  • Calculate

    Three-Phase Power Calculator

    kW, kVA, kvar and amps for three-phase, single-phase and DC circuits from any one of them at a voltage and power factor, with phase angle and horsepower.

    You get: The current a load draws or the power a current carries — real, apparent and reactive — with the √3 and power-factor arithmetic shown, so breaker, cable and transformer figures line up.

    Open Three-Phase Power Calculator
  • Estimate

    Transformer Sizing

    Transformer kVA for a load given in kVA, kW with power factor, or secondary amps; growth allowance; next preferred rating; full-load current on both sides.

    You get: The kVA the load needs, the next preferred rating from a labelled list with the loading it gives, and the full-load primary and secondary currents at that rating.

    Open Transformer Sizing
  • Calculate

    Voltage Drop

    Voltage drop in volts and percent for DC, single-phase, or three-phase runs from conductor size, material, length, current and temperature, or a datasheet Ω/km.

    You get: The volts lost in the run and the percent of source voltage, the voltage at the load, the longest run for your target, and the smallest listed size that meets it.

    Open Voltage Drop
  • Calculate

    Zener Diode Resistor Calculator

    Series resistor for a zener shunt regulator from the supply range, zener voltage, minimum zener current and load, with worst-case zener and resistor power.

    You get: The largest series resistor that keeps the zener regulating at the lowest supply and full load, and the heat the zener and resistor must survive at the highest supply with the load removed.

    Open Zener Diode Resistor Calculator

Circuits12

  • Calculate

    Capacitor & Inductor Network Calculator

    Total capacitance or inductance in series or parallel, the voltage each series capacitor takes, charge and energy at a voltage, and reactance at a frequency.

    You get: The equivalent value of a bank of capacitors or coils, with the uneven voltage split across series capacitors made visible so ratings can be checked before a part fails.

    Open Capacitor & Inductor Network Calculator
  • Calculate

    Decibel Calculator

    dB from a power or amplitude ratio and back; dBm, dBW, mW, watts, dBV and dBµV at any impedance; add sound levels or subtract a background — references stated.

    You get: The dB value or ratio, all absolute levels at once (dBm, W, dBW, V rms, dBV, dBµV), the combined level of several sources or the source level with the background removed.

    Open Decibel Calculator
  • Calculate

    Dipole Antenna Length

    Half-wave dipole, quarter-wave vertical or full-wave loop length for a frequency with your velocity factor — each leg in m, ft and in, band trim, 3rd harmonic.

    You get: Wavelength, total and per-leg lengths in m, ft and in, the equivalent ft-formula constant (468 ÷ f style), how much to trim between two band edges, and the same antenna at three times the frequency.

    Open Dipole Antenna Length
  • Calculate

    Kirchhoff Two-Loop Circuit Solver

    Solve the classic two-loop circuit — three branches between two nodes, each a resistor with an optional source — for node voltage, currents, powers and KCL/KVL.

    You get: Node voltage, the current in each branch with direction, the drop and power in every resistor, each source’s delivered or absorbed power, and Kirchhoff current and voltage law sums.

    Open Kirchhoff Two-Loop Circuit Solver
  • Calculate

    LED Series Resistor

    Series resistor for one LED or a string from supply voltage, the LED’s forward voltage and current: exact value, nearest E24/E12 parts, current and power.

    You get: The exact resistor value, the preferred value above and below it with the current each really gives, the resistor’s dissipation, and how sensitive the string is to the LED’s forward voltage.

    Open LED Series Resistor
  • Calculate

    Ohm’s Law & Power

    Any two of volts, amps, ohms and watts give the other two; amps from watts or kVA for DC, single- and three-phase with power factor; kW to hp and BTU/h.

    You get: The missing values of the circuit — voltage, current, resistance, power — or the full power triangle of an AC load, with the power also in hp and BTU/h.

    Open Ohm’s Law & Power
  • Calculate

    Op-Amp Gain Calculator

    Gain of inverting and non-inverting op-amp stages from the feedback resistors, output for an input with clipping at your rails, and the R_f for a target gain.

    You get: What an op-amp stage will do to a signal — gain in ratio and dB, the output voltage, and whether it runs into the rails — plus the resistor to fit for the gain you want.

    Open Op-Amp Gain Calculator
  • Calculate

    RLC Impedance & Reactance

    Reactance at a frequency and the impedance of R, L and C in series or parallel — magnitude and phase, resonance, Q, bandwidth, current and power at a voltage.

    You get: X_L and X_C, the complex impedance as R + jX with magnitude, phase angle and whether the circuit looks inductive or capacitive, the resonant frequency with Q and bandwidth, and the rms current, real and reactive power at your voltage.

    Open RLC Impedance & Reactance
  • Convert

    RMS, Peak & Peak-to-Peak

    Convert RMS, peak, peak-to-peak and average for sine, square, triangle, rectified and pulse waveforms with crest and form factor, or true RMS of pasted samples.

    You get: All four measures of the waveform from the one you know, its crest factor and form factor, the RMS with a DC offset, and for pasted samples the true RMS, mean, AC component and extremes.

    Open RMS, Peak & Peak-to-Peak
  • Calculate

    Series & Parallel Resistors

    Equivalent resistance of resistors in series or parallel, the voltage, current and power in each one at your supply, and the resistor to add to hit a target.

    You get: One equivalent value for the network, a per-resistor table of volts, amps and watts when a voltage is applied, and the extra resistor that reaches a target value.

    Open Series & Parallel Resistors
  • Calculate

    Voltage Divider

    Output voltage of a two-resistor divider, or the resistor that gives the output you want — with the load across the output taken into account, not ignored.

    You get: The output voltage open-circuit and under load, the resistor value to design for, the current and power in each part, and the divider’s output resistance.

    Open Voltage Divider
  • Calculate

    Wire Resistance & Length

    Resistance of a wire from length, cross-section and material — copper, aluminium or your resistivity — corrected for temperature; or the length or area needed.

    You get: Resistance, Ω/km and Ω/1000 ft, the equivalent diameter, the resistivity and coefficient used, and with a current the voltage drop and power loss; length or area in the reverse solves.

    Open Wire Resistance & Length

Energy & batteries3

  • Estimate

    Battery Runtime & Capacity

    How long a battery runs a load, or the Ah/Wh needed for a runtime, from voltage, capacity, depth of discharge, inverter efficiency and a Peukert exponent.

    You get: Runtime in hours (or the capacity to buy), the watt-hours actually usable, the current the battery sees, the C-rate, and the Peukert-corrected figure when you give the exponent.

    Open Battery Runtime & Capacity
  • Estimate

    Electricity Cost

    kWh and running cost of one appliance or a list of them per day, week, month and year from power, hours of use and your price per kWh; standing charge optional.

    You get: The kilowatt-hours and the cost for each period, a per-appliance breakdown with its share of the bill, and the average continuous draw — from your own tariff, nothing assumed.

    Open Electricity Cost
  • Estimate

    Solar Array Energy Calculator

    Daily, monthly and yearly PV energy — panels × watts × your site’s peak sun hours × your performance ratio — with specific yield, value and offset.

    You get: The kWh a given array should produce at your site under the figures you supply, what that is worth at your tariff, and what share of your use it covers — with no climate data or loss factor assumed for you.

    Open Solar Array Energy Calculator

Components & codes4

  • Calculate

    PCB Trace Width Calculator

    Minimum PCB trace width for a current and temperature rise by the IPC-2221 formula, external or internal layer, any copper weight, plus resistance and drop.

    You get: Required cross-section and width in mil, mm and inches for your copper thickness, the other layer type for comparison, and for a length the resistance at operating temperature, the voltage drop and the power lost.

    Open PCB Trace Width Calculator
  • Convert

    Resistor Colour Code Calculator

    Read 4-, 5- and 6-band resistor colour codes to a value, tolerance range and temperature coefficient, or turn a value into its bands, with the E-series checked.

    You get: The resistance a marked resistor has and the range it may actually fall in — or the bands to look for — with every band’s role named per IEC 60062.

    Open Resistor Colour Code Calculator
  • Convert

    SMD Resistor Code Decoder

    Decode 3-digit, 4-digit and EIA-96 surface-mount resistor codes (472, 4R7, 1002, 68X) to a value, or list every code a value can carry, with E96 built in.

    You get: The resistance of a chip resistor from the few characters printed on it, with the marking system identified and the arithmetic shown — or the codes to expect on a part of a given value.

    Open SMD Resistor Code Decoder
  • Look up

    Standard Resistor Values (E-Series)

    Nearest standard resistor value in E6, E12, E24, E48, E96 and E192 (IEC 60063) with its error, neighbours and decade in your series, and the best pair.

    You get: The closest value in every series with its percent error, the values just below and above in the series you buy from, the full decade of that series, and the two-resistor series and parallel combinations that come closest.

    Open Standard Resistor Values (E-Series)

Timing & filters3

  • Calculate

    555 Timer Calculator

    Astable frequency, period, high/low times and duty from R1, R2 and C, monostable pulse width from R and C, or the resistors for a target frequency or pulse.

    You get: The timing a 555 circuit will produce with the parts you have — or the parts to fit for the timing you want — with the exact ln 2 and ln 3 formulas rather than the rounded rules.

    Open 555 Timer Calculator
  • Calculate

    RC & RL Time Constant Calculator

    Time constant τ = RC or L/R, the charge and discharge curve at 0.5τ to 5τ, the value at any time, the time to reach any percentage, and stored energy.

    You get: How fast a capacitor or inductor circuit settles and where it is at a given instant — the exponential curve made explicit, so a delay, filter or snubber can be sized with a reason.

    Open RC & RL Time Constant Calculator
  • Calculate

    RC Filter Cutoff Calculator

    Cutoff frequency of a first-order RC or RL low-pass or high-pass filter, the gain and phase at any frequency, and the R or C (L) to hit a target cutoff.

    You get: Where a simple filter rolls off and how much it attenuates a given frequency — with the −3 dB point, the 20 dB per decade slope and the phase shift stated — or the part to fit for a cutoff you want.

    Open RC Filter Cutoff Calculator

Audio & acoustics6

  • Convert

    BPM to Milliseconds & Delay Times

    Delay times in milliseconds for every note value at a tempo — straight, dotted and triplet — the matching LFO rate in Hz, or the tempo a delay fits.

    You get: The length of a beat and a bar, a table of whole to sixty-fourth notes straight, dotted and triplet in milliseconds and hertz, or — from a delay time you like — the tempo it locks to.

    Open BPM to Milliseconds & Delay Times
  • Convert

    Note Frequency & Cents

    A note’s frequency in equal temperament at your A4 reference, or a frequency’s nearest note and cents sharp or flat, with MIDI number and wavelength.

    You get: A note’s frequency and MIDI number, or a frequency’s nearest note and its offset in cents, the wavelength in air, and the twelve notes of that octave — at 440 Hz or the reference you tune to.

    Open Note Frequency & Cents
  • Calculate

    Reverberation Time (RT60)

    RT60 of a room by Sabine and Eyring from its dimensions and the absorption coefficients you enter for floor, ceiling and walls, plus extra absorption.

    You get: The reverberation time by Sabine and by Eyring, the total absorption and mean absorption coefficient, the room’s volume and surface, and the Schroeder frequency below which room modes dominate.

    Open Reverberation Time (RT60)
  • Calculate

    Room Mode Calculator

    Axial, tangential and oblique room modes of a rectangular room up to the frequency you choose, the first axial mode of each dimension, and where modes pile up.

    You get: Every room mode below your chosen frequency with its order and type, the lowest axial mode along the length, width and height, and the axial modes that land close enough together to build a bass peak.

    Open Room Mode Calculator
  • Calculate

    Speaker Crossover Calculator

    Inductor and capacitor values for a passive two-way crossover — first order, Butterworth or Linkwitz-Riley — from the frequency and driver impedances.

    You get: The woofer’s low-pass inductor (and shunt capacitor) and the tweeter’s high-pass capacitor (and shunt inductor) in mH and µF, the slope, and whether the tweeter needs reversed polarity.

    Open Speaker Crossover Calculator
  • Calculate

    Subwoofer Box Volume & Port Length

    Net volume of a sealed or ported subwoofer box from its outside size, walls, driver and bracing, and the port length for a tuning frequency, round or slot.

    You get: Inside dimensions, gross and net volume in litres and cubic feet, and for a ported box the length of each port for your tuning frequency with the air the ports themselves take out of the box.

    Open Subwoofer Box Volume & Port Length