RAYPCB · ENGINEERING GUIDE
Solder Mask Expansion: Signed Offsets, CAD Rules and Export Verification
Solder-mask expansion is the offset used to derive a mask opening from a reference shape in CAD. In a simple pad-based rule, a positive offset makes the opening larger and a negative offset makes it smaller. The exact reference, overrides and output behavior still need to be checked in the design system.
This page explains the numeric setting and its verification. The opening-design guide owns the broader decision about SMD, NSMD and shared openings. Changing a global expansion value should follow that design decision rather than replace it.

Confirm the reference object
An expansion may be applied relative to a copper pad, a hole or another defined object, depending on the CAD feature and rule. The same number can therefore produce different physical openings. Read the applicable documentation for the software and inspect the resulting geometry.
Altium documents mask rules, object-level behavior and related options. Those documentation descriptions are useful for understanding the model, but a screenshot or rule label is not proof that every pad in a board uses that setting. Libraries, overrides and priorities need review in the actual project.
Signed mask-expansion calculator
Signed mask-expansion calculator
Use the current inputs and keep the assumptions
Start with the feature or process question you actually need to resolve. Fields are blank until you enter values or deliberately load an illustrative example. Example mode remains labeled after editing, so a sample is not silently presented as verified project data. Clear the example before preparing a project-specific record.
Use the units printed beside each input. Keep the drawing revision, measurement basis and source of any allowance in your controlled project records. A field that asks for a limit expects your agreed requirement; the example is not an IPC threshold or a statement of RAYPCB capability. A numerical result should lead to a focused review, not replace it.
Changing any input invalidates the displayed result and disables its download until you calculate again. The text download contains the current inputs, results and assumptions. Nothing is uploaded, stored in analytics or automatically transferred into the Contact form. You may attach the file manually if it helps explain your enquiry; completing the worksheet is optional.
| Input | What to establish before using it |
|---|---|
| Review reference | Use a nonconfidential reference to connect this worksheet to the correct design or process revision. |
| Reference width · mm | Verify whether the CAD rule references a pad, hole or explicit object. |
| Reference length · mm | This model supports ideal rectangular references only. |
| Signed per-side expansion · mm | A negative value contracts the opening. Total dimension changes by twice this value. |
Convert radial offsets into opening dimensions
For an ideal rectangle, add twice the signed offset to each dimension. A 0.05 mm outward offset increases total width by 0.10 mm. A negative value reduces the opening and can intentionally overlap copper, provided that this matches the approved land-pattern strategy.
The tool rejects an offset that produces a zero or negative opening dimension. It reports both the resulting dimensions and the area difference. It does not calculate a general polygon offset or resolve self-intersections in an irregular shape. Use the CAD geometry engine and export review for those cases.
| Review item | What to establish |
|---|---|
| Reference | Record pad-based, hole-based or explicit geometry behavior. |
| Signed offset | Positive enlarges and negative contracts the ideal reference opening. |
| Scope | Check rule priority, library data and object overrides. |
| Output | Validate final mask files against copper, outline and the intended assembly strategy. |
Keep sign, units and intent together
A minus sign is a design instruction, not a small formatting detail. Record units beside the value and verify conversions when using mil-based libraries with millimeter-based rules. One mil is 0.0254 mm; a mistaken unit can dramatically change the opening.
If the purpose is a total dimensional increase, convert it to the appropriate per-side offset before entry. If the purpose is intentional mask overlap, identify the package and affected lands. A broad negative expansion applied to unrelated objects can expose a library-management issue rather than a deliberate design.

Review rule scope before changing the global value
Identify which pads, vias and other objects are controlled by the rule. Some may have local overrides or explicit mask geometries. A global edit can leave those objects unchanged while altering many locations that did not need adjustment.
Choose representative critical regions for inspection: fine-pitch lands, thermal pads, connector contacts and vias with deliberate treatment. Compare the before-and-after outputs. Keep the design change small enough to understand, and record any exceptions that remain intentionally different.
Check the web and copper clearance separately
Expanding adjacent openings reduces the mask between them. The bridge calculator addresses that web geometry. Registration relative to copper is a different check: even a correctly sized opening can be misplaced relative to the land beneath it.
Do not interpret the expansion setting as a complete manufacturing tolerance. It is nominal design data. The fabricator may need to discuss compensation or achievable results using the selected mask process. Approve any change with the assembly consequence and the source revision in view.
Verify exported data after the final edit
Generate the released top and bottom mask layers, then inspect them with the corresponding copper and outline. Confirm polarity, orientation and filename identity. A board editor may show a useful preview, but the manufacturing output is the data that downstream teams receive.
Check that obsolete output files have not remained in the delivery archive. Include one coherent revision and a brief note identifying any critical mask exceptions. If a manufacturing partner proposes a change, retain the approval and consider updating the source so the next build does not depend on an undocumented correction.
Ask a precise CAD-to-manufacturing question
Send the current opening geometry, proposed offset and reason for the change. Include the exact package recommendation where relevant. State whether the concern is insufficient exposure, an unmanufacturable web or an observed assembly problem.
A useful answer identifies the affected objects, the resulting geometry and the evidence needed to accept it. It should not simply recommend a universal expansion value for all boards. The right setting is the one that implements a justified opening design in the actual released data.
Review one critical footprint through the complete file chain
Choose a representative footprint whose geometry makes the mask decision important. Place its component recommendation, copper land, mask opening and paste aperture side by side. Name the role of each boundary before comparing dimensions. This prevents an aperture change intended for printing from being applied to the permanent coating by mistake.
Next, identify the source of every allowance. Nominal expansion, local opening growth and mask-to-copper registration describe different effects. A conservative tolerance budget can be appropriate, but only when it does not count the same variation twice. If the source of an allowance is unknown, preserve that as an open question instead of treating a familiar round number as verified process data.
Inspect the final exported files for that footprint and at least one important exception. This is where object overrides, library differences and rule scope become visible. The released output should match the documented design choice. A manufacturing partner's proposed change should be tied to the same feature and revision so both sides can assess its effect on assembly.
For a repeat order, retain the approved file set and any accepted exception. If a new supplier or mask grade is proposed, review the critical geometry against that route rather than assuming the old nominal dimensions are universally producible. The objective is a stable functional interface, not the smallest possible number in a capability table.
The enquiry can be brief: the marked region, exact component, relevant layers and the decision you need to make. That gives the reviewer enough context to discuss a real margin or opening strategy without forcing the customer to complete an unrelated cost calculator first.
Standards, source context and limits
Use the official references for their stated scope and the applicable controlled document for contractual requirements. A public scope page, product description or application note is not a complete acceptance specification. Material-supplier guidance applies to the named material and process; it is not evidence that every option is available for this board.
Agree the document revision, construction, inspection method and any exceptions with the responsible engineering and quality teams. The explanatory drawings and worksheet examples on this page are original planning aids, not factory records, qualification results or compliance certificates.