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 a plated through-hole pad against the IPC-2221 land rule and your fab's minimum ring, from the finished hole or lead size, drill oversize and tolerance.
Say whether your diameter is the finished plated hole or the component lead, choose the IPC-2221 level and whether the pad is on an outer or inner layer.
Choose mm or mil. Changing the unit converts every size you typed.
Enter the diameter, the finished-hole tolerance, how much larger the fab drills than the finished hole, your pad diameter and the fab's minimum annular ring.
Read whether the pad passes and which rule sets the minimum. The drawing shows the hole at its largest, shifted by half the fabrication allowance, and the thinnest ring left.
Copy result copies the check and its numbers. Reset restores the starting example and the configured settings.
The annular ring is the copper left around a plated hole. A fab drills the hole larger than the finished size, about 0.1 mm, because plating then grows inward from the drilled wall. The drill can also wander and the layers can shift, so the ring is thinner on one side than the drawing suggests.
IPC-2221 sizes the land as L = a + 2b + c. On an outer layer a is the largest finished hole, the nominal size plus its tolerance; on an inner layer it is the drill. b is the minimum ring, 0.05 mm outside and 0.025 mm inside, and c is the fabrication allowance for drill wander and layer registration: 0.4, 0.25 or 0.2 mm for levels A, B and C.
Fabs state their own minimum ring, usually measured from the drill as (pad − drill)/2, often 0.1 to 0.2 mm. The calculator checks both rules and reports the larger minimum pad, so the headline says which rule is the limit.
For a component lead, IPC-2222 makes the smallest plated hole the largest lead diameter plus 0.25, 0.20 or 0.15 mm for levels A, B and C. Use the diagonal of a square or rectangular pin. The nominal finished hole is then one tolerance above that minimum.
Assumptions: round pads and holes, one plated through-hole, and the IPC design values as reproduced by Altium, I-Connect007, pcb-3d.com and JLCPCB, because the IPC documents themselves are not free. Inner layers use the nominal drill size. Limitations: this is a first-pass design check, not your fab's DFM review. Thick copper and boards with more than eight layers may need a larger allowance; ask your fab.
Does IPC class change the pad size? Not the design minimum. IPC-6012 Class 2 accepts a 90° breakout on an outer layer after fabrication, while Class 3 needs an intact 0.05 mm ring; both start from the same design rule, so the class is not an input.
Why do the drill ring and the IPC ring differ? The fab measures from the drill, before plating; IPC measures an outer ring from the finished plated hole. With a 0.1 mm oversize the drill ring is 0.05 mm smaller than the nominal ring from the finished hole.
What if my pad fails only the fab rule? The fab may reject or quietly enlarge it. Make the pad larger, choose a smaller drill if the lead allows it, or ask the fab whether a smaller ring is available.
Related tools: the via current-capacity estimator (130) for the current a plated barrel carries, the PCB trace width calculator (097) and the trace resistance and heating calculator (129).
Finished hole from a lead: F = lead + allowance (0.25, 0.20 or 0.15 mm) + tolerance.
Drill: d = F + oversize.
IPC-2221 land: L = a + 2b + c, with a = F + tolerance outside or d inside.
Fab minimum pad: L_fab = d + 2 × fab ring.
Worst-case ring: (pad − a − c) / 2, which must be at least b.
Fab ring: (pad − d) / 2, which must be at least the fab's minimum.
0.8 mm finished hole ±0.08 mm, drill 0.1 mm larger, level B, outer layer, 1.6 mm pad, fab ring 0.15 mm: Passes: minimum 1.23 mm, set by IPC-2221. L = 0.88 + 2 × 0.05 + 0.25 = 1.23 mm. The thinnest ring after the worst shift is 0.235 mm; the fab sees (1.6 − 0.9)/2 = 0.35 mm.
Square 0.64 mm header pin (0.91 mm diagonal), level B, ±0.08 mm, 1.7 mm pad: Passes: minimum 1.62 mm. The hole must be at least 0.91 + 0.20 = 1.11 mm, so the nominal hole is 1.19 mm and the drill 1.29 mm.
Example 1 with a 1.25 mm pad and a fab ring of 0.2 mm: Too small: needs 1.3 mm, set by the fab. The pad meets IPC-2221 (1.23 mm), but (1.25 − 0.9)/2 = 0.175 mm is under the fab's 0.2 mm.
Example 1 with a 0.9 mm pad: No annular ring. Common mistake: a pad equal to the drill leaves no copper at all; the pad must be larger than the drill, not the finished hole.
Altium: PCB pad size guidelines (IPC-2221 land formula)
I-Connect007: How large does that pad really need to be?
pcb-3d.com: PTH hole and pad sizes per IPC-7251, IPC-2222 and IPC-2221
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 →Waveshare 240×240 1.28inch Round LCD Display Module, 65K RGB
When sellers / websites do not fulfill / deliver the promised goods and replace them with other comparable alternatives without intimation, it leads to ther erosion of trust on such sellers / websites. My order for Yihua 08C soldering tip cleaner (Order Id #TR66916) was substituted with a Myto Tips Cleaner MTS 08B which may be comparable but not identical. Such practices need to be curbed and better communication as well as approval regarding the same should be obtained before proceeding with a replacement. Hope to have a better experience next time. Other than that, the quality of the other items in the order was good. The speed of refund against another unavailable item was good. The choice of the delivery partner and the speed of delivery was good.
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.