Linear guide perpendicularity describes how closely one guide axis, motion axis or mounting datum forms a 90-degree relationship with another specified reference. It is most commonly checked between the X and Y motion axes of a machine, where it is also called axis squareness or orthogonality.
Perpendicularity should not be confused with the parallelism between two rails installed on the same axis. Two rails supporting one moving table are normally intended to be parallel. Two different motion axes, such as X and Y, are normally intended to be perpendicular.
If the X and Y axes are not square, the machine may still move smoothly, but commanded geometry can be distorted. A programmed square may become a parallelogram, and a circular path may show a directional geometric error even when each individual axis positions accurately along its own travel.
What Perpendicularity Refers To
The term can describe several different relationships. The drawing, inspection plan or machine specification must identify exactly which line, plane or motion axis is being controlled.
| Relationship | What is being checked | Typical purpose |
|---|---|---|
| X-axis to Y-axis | The angle between two intersecting motion directions | Maintain square machine coordinates and geometric accuracy |
| Rail axis to a machine datum | The guide direction relative to a designated transverse reference | Locate an axis correctly within the machine structure |
| Mounting face to side datum | The 90-degree relationship between two machined reference surfaces | Provide reliable seating and lateral rail location |
| Vertical axis to base plane | The Z-axis direction relative to the machine's horizontal datum | Control vertical alignment and multi-axis geometry |
These relationships require different measurement setups. A result is incomplete unless the controlled feature, reference datum, measurement direction and evaluated length are stated.
Perpendicularity vs Parallelism
Parallelism and perpendicularity are related alignment controls, but they solve different problems.
| Term | Required relationship | Common example | Typical effect of error |
|---|---|---|---|
| Parallelism | Two lines, rails or surfaces remain equidistant | Master and subsidiary rails on one axis | Binding, uneven resistance or unwanted internal load |
| Perpendicularity | One axis or datum forms 90 degrees with another | X-axis relative to Y-axis | Distorted coordinates and geometric path error |
| Straightness | One line or motion path does not deviate from a straight reference | Travel path of one carriage | Lateral or vertical path deviation |
| Flatness | A surface remains within two parallel planes | Rail mounting surface | Rail distortion and inconsistent carriage loading |
Before checking XY perpendicularity, each axis must already have acceptable straightness, and parallel rails within each axis must already be aligned. Otherwise, the perpendicularity reading may include errors from several different sources.
For the measurement of rails installed in the same direction, see how to measure linear guide parallelism.
How Perpendicularity Error Affects Motion
The effect depends on which relationship is incorrect.
When X and Y motion axes are not square:
- A square path may become a parallelogram.
- A circular interpolation test may show a geometric distortion.
- Features machined from different axis directions may not meet at the intended angle.
- Inspection results can vary depending on the direction of measurement.
When the rail mounting datums are not perpendicular or correctly located:
- The rail may not seat fully against both reference surfaces.
- Tightening bolts may distort the rail or pull it away from the intended datum.
- The moving plate may introduce additional moment load into the carriages.
- The final axis direction may differ from the machine drawing.
An XY squareness error does not necessarily make the carriage difficult to move because each axis may still be internally straight and parallel. Conversely, a binding carriage is more commonly associated with rail parallelism, mounting-height variation, contamination or plate distortion than with the 90-degree relationship between separate axes.
Define the Measurement First
Before choosing an instrument, define the following information:
- Which axis, rail side face or mounting plane is the controlled feature?
- Which axis or surface is the reference datum?
- Is the requirement for component geometry or actual carriage motion?
- Over what measurement length is the result evaluated?
- Should the result be reported in mm, mm/m, micrometres or angular units?
- What temperature and machine-loading conditions apply?
Measuring the machined mounting edges does not automatically prove that the final motion axes are perpendicular. Rail seating, bolt tightening, carriage variation, table deformation and assembly adjustment can change the completed motion geometry.
Method 1: Square and Dial Indicator
A calibrated precision square and dial test indicator provide a practical method for checking the squareness of two relatively short machine axes. The square must have sufficient accuracy for the required machine tolerance.
Basic procedure for an XY stage:
- Clean the table, square and indicator contact surfaces. Remove chips, burrs and lubricant residue that could tilt the square.
- Establish the X-axis as the reference motion direction.
- Place the precision square on the machine table and align one working face parallel to the X-axis travel.
- Mount the dial indicator on the Y-axis moving member so that the probe contacts the perpendicular working face of the square.
- Move the Y-axis through the defined inspection length while recording the indicator values.
- Repeat the measurement to check repeatability, then reverse or reposition the square where appropriate to identify square or setup error.
The indicator variation represents the lateral deviation over the measured Y-axis travel after the square has been correctly aligned to the X-axis reference. The square must not move while the axis is traversed.
Method 2: Optical Measurement
Longer travel and higher-accuracy machines may require an autocollimator, laser interferometer with suitable angular or straightness optics, or a laser tracker. A basic laser pointer or line laser is not sufficient for traceable high-precision perpendicularity measurement.
A typical optical process includes:
- Establish the direction or angular behavior of the first motion axis.
- Measure the direction of the second axis in the same coordinate system.
- Calculate the angular relationship between the two fitted motion directions.
- Repeat the runs in both travel directions to evaluate repeatability and reversal effects.
- Apply the instrument manufacturer's environmental and compensation procedures.
Optical methods reduce dependence on a short physical square and are useful for long machine axes. Their accuracy still depends on instrument setup, air temperature, thermal gradients, vibration and correct interpretation of the measured axis vectors.
Method 3: CMM or Laser Tracker
A coordinate measuring machine or laser tracker can evaluate perpendicularity by measuring points along two reference features or motion paths and fitting a line or plane to each dataset.
The general procedure is:
- Define the machine coordinate system and required datums.
- Collect sufficient distributed points along the first axis, rail datum or mounting feature.
- Collect points along the second controlled feature.
- Fit the required lines or planes using the agreed evaluation method.
- Calculate the angular relationship or perpendicularity deviation between them.
The required point quantity depends on feature length, geometry, measurement uncertainty and the inspection standard. A fixed number such as 20 or 30 points should not be applied to every machine.
CMM inspection is particularly useful for checking machined bases, tables and locating shoulders before guide installation. For actual motion-axis perpendicularity, the measurement setup must capture carriage or table movement rather than only the static rail geometry.
How to Calculate the Error
For a square-and-indicator measurement, a simplified perpendicularity deviation can be expressed as:
When the result is normalized to one metre:
For small angular errors, the angle can be approximated from the ratio between the deviation and measurement length:
For example, if the indicator changes by 0.012 mm over a verified travel of 600 mm:
E = 0.012 ÷ 600 × 1000
E = 0.020 mm/m
This is a reporting example, not a universal acceptance tolerance. The allowable value must come from the machine design, drawing, process capability or applicable inspection standard.
No Universal Tolerance
There is no single perpendicularity tolerance suitable for every linear guide system. A packaging transfer axis, CNC machining center and coordinate measuring stage have very different geometric requirements.
The allowable error depends on:
- Axis travel length
- Required part or positioning accuracy
- Distance between the guide and working point
- Machine structure and thermal behavior
- Guide accuracy and preload
- Measurement uncertainty
- Availability of controller compensation
A tolerance should always state its evaluated length. A deviation of 0.01 mm over 100 mm is not equivalent to 0.01 mm over 1,000 mm.
Common Measurement Errors
Using an Unverified Square
If the square error is close to the machine tolerance, the result cannot reliably distinguish machine error from reference-tool error. Use a calibrated square with suitable uncertainty.
Failing to Align the Square to the Master Axis
A precision square placed on the table is not automatically aligned to X-axis motion. One face must first be set parallel to the selected master axis before the perpendicular face is used to inspect Y.
Measuring Before Parallelism Is Correct
If two rails within one axis are not parallel, the moving table may yaw or bind during travel. The resulting indicator change can be mistaken for perpendicularity error.
Ignoring Indicator Cosine Error
The probe should contact the reference face at the correct angle and remain within its intended measuring range. An inclined indicator stem or changing contact angle introduces additional error.
Measuring During Temperature Change
Machine frames, squares, rails and measuring instruments expand with temperature. Allow the equipment to stabilize and avoid direct sunlight, changing coolant temperature and local heat sources during precision inspection.
How to Correct Perpendicularity
The correction method depends on whether the error originates from the mounting base, rail position, moving structure or machine calibration.
- Confirm the master axis. Verify its straightness and internal rail parallelism before using it as a reference.
- Inspect the mounting surfaces. Remove burrs, dents, dirt and raised material around bolt holes.
- Loosen only the adjustable axis. Keep the established master axis fixed unless inspection shows that it is also incorrect.
- Adjust against the correct reference. Use a machined shoulder, precision square, jig or measurement feedback to position the axis.
- Tighten progressively. Follow the specified bolt sequence and torque while checking that the axis does not shift.
- Recheck the complete travel. Measure in both travel directions and repeat after all rails, carriages and plates are fully tightened.
Shims may be used only where the machine design and correction direction permit them. Random shimming can improve one reading while creating mounting-face distortion, roll or height error elsewhere.
If the required adjustment exceeds the available assembly range, the mounting shoulder or base may require re-machining. Controller compensation may reduce certain geometric errors in commanded motion, but it does not correct mechanical binding, poor rail seating or excessive internal carriage load.
Recommended Inspection Order
A logical inspection sequence prevents one alignment error from being mistaken for another:
- Mounting-surface flatness and cleanliness
- Master rail straightness
- Parallelism of rails within each axis
- Carriage movement and running resistance
- Perpendicularity between different motion axes
- Complete machine positioning and interpolation tests
For mounting-surface inspection, see linear guide mounting-surface flatness. For the complete assembly sequence, refer to how to install linear motion guides.
Conclusion
Linear guide perpendicularity normally describes the 90-degree relationship between two motion axes or between a guide direction and a specified machine datum. It is different from rail parallelism, path straightness and mounting-surface flatness.
A precision square and indicator can provide a practical workshop inspection, while optical equipment, CMMs and laser trackers are more suitable for long travel or higher-accuracy systems. Regardless of the method, the datum, inspection length, instrument uncertainty and measurement object must be clearly defined.
DLY supplies HD ball-type, ED low-profile, MD miniature and RD roller-type linear guideways with H and P accuracy options. Final machine perpendicularity depends on both guide accuracy and the mounting, alignment and verification of the complete motion system.


