PCB Spacing vs Voltage Calculator: Clearance and Creepage
- Illustrative creepage
- mm
- Result
- Working voltage
- 250 V
- You entered
- Pollution degree
- 2
- You entered
A PCB spacing vs voltage calculator estimates the minimum electrical clearance and creepage distance between conductors from the working voltage and design conditions you enter. Use its result as a preliminary design check—not as a substitute for the applicable safety standard, insulation coordination, or a review of the finished product.
Formula
This simple screening calculator uses illustrative multipliers, not a standards table. Its formulas are:
- Estimated clearance (mm) = working voltage (V) × 0.01 × [1 + max(0, altitude (m) − 2,000) ÷ 10,000]
- Illustrative creepage (mm) = working voltage (V) × 0.01 × pollution-degree input × material-group input
Working voltage is the voltage that can continuously appear between the conductors being assessed. Pollution degree is entered as a numerical screening factor, and material group is entered as its group number; neither input automatically selects a compliant standard value. Altitude is the installation height above sea level. The clearance expression applies a modest illustrative altitude adjustment only above 2,000 m. All output distances are in millimetres.
There is no universal equation that converts voltage alone into a safe PCB spacing. Actual minimum distances depend on the governing product standard and its definitions, including voltage type and waveform, insulation function, overvoltage category, pollution degree, material properties, altitude, and construction. The calculator deliberately labels both distances as estimates.
Worked Example
Using the calculator’s default entries—250 V, pollution degree 2, material group 3, and 2,000 m altitude:
- Clearance: 250 × 0.01 × [1 + max(0, 2,000 − 2,000) ÷ 10,000] = 2.50 mm.
- Creepage: 250 × 0.01 × 2 × 3 = 15.00 mm.
The outputs are therefore an estimated clearance of 2.50 mm and illustrative creepage of 15.00 mm. These figures demonstrate the calculator’s arithmetic; they are not a claim that either spacing meets a particular safety standard.
Clearance and Creepage: What the Distances Mean
Clearance is the shortest distance through air between two conductive parts. On a PCB, measure it between the closest relevant conductor edges, not between trace centerlines. A gap through air can be affected by voltage peaks, transient overvoltages, altitude, geometry, and the surrounding enclosure.
Creepage is the shortest distance along the surface of insulating material between conductive parts. It follows the board surface, including around slots or barriers where the relevant construction permits that path. It is particularly sensitive to contamination and the electrical properties of the insulating material.
The two distances are not interchangeable. A layout can have adequate air spacing but insufficient surface path, or the reverse. For example, a routed slot can lengthen a creepage path without necessarily increasing the shortest air clearance across the gap.
How to Choose Inputs for a Real Design
Before using any spacing result for a design decision, identify the exact insulation boundary and the standard applicable to the end product. The relevant voltage is not always the board’s nominal supply label: assess the voltage between the two conductors in question, including expected operating conditions and relevant peaks as the standard specifies.
- Voltage: distinguish working voltage from transient or impulse voltage. Use the voltage definition and measurement convention required by the applicable standard; AC RMS, DC, and peak values are not interchangeable.
- Pollution degree: determine the expected microenvironment at the insulating surface. Dust, moisture, condensation, and conductive contamination can change the required creepage distance.
- Material group: use the PCB insulation material’s verified comparative tracking index (CTI) and the group classification specified by the standard. Do not infer it from a generic description such as “FR-4.”
- Altitude: consider the maximum operating altitude. Lower air density can reduce the withstand capability of an air gap, so the required clearance may increase.
- Construction: include coatings, solder mask, slots, barriers, enclosure geometry, and manufacturing tolerances only in the way the selected standard permits.
For a finished product, the design process may also need overvoltage category, insulation type (functional, basic, supplementary, or reinforced), and the required impulse withstand level. Those are absent from this compact calculator, so its outputs cannot establish compliance.
Common Mistakes and Limits
A frequent misconception is that a familiar rule such as “one millimetre per kilovolt” is universally safe. Air breakdown is not a fixed threshold that can be applied to every PCB: conductor shape, voltage waveform, altitude, contamination, and the required safety margin all matter. Likewise, a high-voltage trace spacing table from another product or standard may not apply to your design.
Other common errors include measuring trace centers instead of conductor edges, confusing nominal supply voltage with working voltage, using the wrong CTI group, and treating solder mask as automatically equivalent to solid insulation. Solder mask, conformal coating, and potting can affect the assessment only when the applicable standard recognizes the material and process and the manufacturing controls support that use.
Do not round a borderline result downward. Real boards have etching tolerances, registration variation, and possible contamination or damage; allow for the tolerances required by the design and verify the physical layout. The calculator’s linear multipliers do not encode standard-specific tables or test procedures, and its creepage estimate is especially unsuitable as a compliance limit.
Using the Result Safely
Use the figures to compare an early layout against an initial spacing target, identify areas that need review, or understand why air and surface paths may demand different treatment. If either result is close to the available board spacing, revisit the actual standard before routing or releasing the design.
A proper engineering check generally involves finding the standard’s clearance and creepage requirements for the product, selecting the correct voltage and environmental categories, confirming the insulation material data, and measuring the actual geometry in the PCB layout. Where the product is safety-critical or the rules are unclear, have the design evaluated by a qualified compliance professional or testing organization. This calculator is a planning aid, not a certification tool.
Frequently Asked Questions
What is the difference between PCB clearance and creepage?
Clearance is the shortest distance through air between conductors; creepage is the shortest distance along an insulating surface. A PCB design may need to satisfy separate minimums for both.
Can I calculate safe PCB spacing from voltage alone?
No. Voltage is one input, but applicable requirements also depend on the governing standard, voltage characteristics, insulation type, pollution, material properties, altitude, and construction.
Does solder mask count as creepage insulation?
Not automatically. Whether a coating or solder mask changes the required path depends on the applicable standard, material qualification, coverage, and process controls.
Why does altitude affect clearance?
Air density decreases as altitude increases, which can reduce the dielectric withstand of an air gap. Standards account for this under defined conditions; use the required correction rather than assuming a universal factor.
What does PCB material group or CTI mean?
CTI describes a material’s resistance to electrical tracking on its surface under a specified test. A standard uses CTI-based material groups when determining creepage requirements; obtain the relevant value for the actual laminate.
Is this calculator enough to confirm compliance?
No. It provides illustrative estimates only. Confirm the spacing using the complete requirements of the product’s applicable standard and the actual board construction and tolerances.
Related
Formula used
in voltage | Working voltage | V | 250 | 0 in pollution | Pollution degree | - | 2 | 1 in material | Material group CTI | - | 3 | 1 in altitude | Altitude | m | 2000 | 0 out clearance | Estimated clearance | mm | voltage * 0.01 * (1 + max(0, altitude - 2000) / 10000) | 2 out creepage | Illustrative creepage | mm | voltage * 0.01 * pollution * material | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.