Electronics calculators

They calculate as you type. Numbers can be written with a comma or a dot.

LED resistor

Resistor from the E12 series

Ω150 Ω

Exact from the formula
150 Ω
Current with this resistor
20 mA
Power in the resistor
0.06 W
Which one to take
0.125 W: SMD 0805 or a small through-hole

The next higher standard value is used: the current comes out slightly below the target, which is easier on the LED.

+5 Vsupply150 Ωacross it 3 V, 0.06 W2 VLED20 mA

Bands 150 Ω: brown,green,brown,gold

Voltage divider

What to calculate

Output

V3 V

Divider current
200 µA
Divider dissipation
0.001 W
Output resistance
6 kΩ
  • ESP32 (3.3 V): the pin survives, but the ADC is accurate only up to 2.45 V, above that the error grows.
  • Arduino (5 V): fine.
+5 VinputR1 10 kΩacross it 2 VR2 15 kΩacross it 3 V3 VoutputGND200 µA

R1 10 kΩ: brown,black,orange,gold

R2 15 kΩ: brown,green,orange,gold

Battery runtime

Will run for

h29.2 h

Average circuit current
80 mA
In days
1.22 days

The capacity on the label is measured at a small current. At hundreds of milliamps the battery gives less, and so it does in the cold.

3D print cost

Per good part

₽97.01 ₽

Plastic
75 ₽
Electricity
2.16 ₽
Printer wear
15 ₽
For rejects
4.85 ₽

Wear covers the nozzle, belts, bed and the printer itself, divided by print hours. Use the average power: the bed is not heating all the time.

Power supply for an LED strip

Power supply at least

W87 W

Strip power
72 W
Strip current
6 A
Supply with 20 % margin
86.4 W, 7.2 A
Current in the wires
6 A
  • The wire loses 0.56 V (4.7 %), only 11.44 V reaches the strip. For losses under 3 % use wire of 1.5 mm² or thicker.

Take the power per metre from the reel or the strip description. For WS2812B, 18 W/m means white at full brightness, and colour effects draw less.

pF, nF and µF converter

In microfarads

µF0.1 µF

Picofarads
100,000 pF
Nanofarads
100 nF
Microfarads
0.1 µF
Code on a ceramic capacitor
104
Letter notation
100n

1 µF = 1000 nF = 1,000,000 pF. A three-digit code gives the capacitance in picofarads: two digits and the number of zeros (104 = 10 and 4 zeros = 100,000 pF = 100 nF = 0.1 µF).

What the calculators compute

The page has 6 calculators: LED resistor, voltage divider, battery run time, 3D print cost, power supply for a strip, and pF, nF and µF conversion. The answer updates on every input. Each calculator has its own page, and its address stores the values you entered.

FAQ

Is the calculation done in the browser or on the server?
With JavaScript on, the calculation runs in the browser on every input. Without JavaScript the form is submitted with the "Calculate" button, and the server computes the answer with the same formulas.
How do I share a calculation?
Below the answer there is a "Link to this calculation". It holds the field values, and the calculator opens with them when you follow the link.
Can I enter numbers with a decimal comma?
Yes. 3,3 and 3.3 are read the same way, and the calculator ignores spaces between digit groups.
Which series are the resistor values taken from?
The LED resistor and the divider search take values from the E12 or E24 series. For an LED the calculator takes the nearest larger value, so that the current comes out no higher than the one you set. For the divider it picks the pair with the smallest error.

You might also need