2026-07-30 8 min

Flatness Calculator

Calculate flatness deviation, per-unit-area flatness, and tolerance compliance for precision surface plates, machined faces, and mating surfaces per ASME Y14.5 and ISO 1101.

Calculator

Unit System
Maximum Height (h_max, mm)
Minimum Height (h_min, mm)
Reference Point Heights (mm, comma-separated)
Part Length (mm)
Part Width (mm)
Flatness Tolerance (mm)

Results

Optimal

Flatness Deviation

0.0700mm

Maximum height variation across the surface (h_max - h_min)

Flatness per √Area

0.0004mm/mm

Flatness deviation normalized by square root of surface area

% of Tolerance Used

70.00%

Percentage of allowable flatness tolerance consumed

Status

Pass

Pass if flatness deviation is within tolerance limit

Visualizations

Results Overview

0.1mmFlatness Deviation
0mmFlatness per √Area
70mm% of Tolerance Used

Formula

Flatness is the minimum distance between two parallel planes that contain all measured surface points. The deviation is the difference between the highest and lowest points on the surface.

FlatnessDeviation = h_max - h_min

Alternative Form

FlatnessPerUnitArea = Deviation / sqrt(Length × Width)

Variables

SymbolNameUnitDescription
h_maxMaximum Surface HeightmmHighest measured point on the surface
h_minMinimum Surface HeightmmLowest measured point on the surface
LPart LengthmmLength of measured surface
WPart WidthmmWidth of measured surface
TTolerancemmAllowable flatness deviation per standard

Explanation

Flatness is a form tolerance that controls the variation of a surface from a perfect plane. Unlike other GD&T controls, flatness does not require a datum reference. The flatness tolerance zone is the space between two parallel planes separated by the tolerance value. All points on the surface must lie within this zone.

Derivation

The flatness deviation is simply the range (peak-to-valley) of surface height measurements. Per-unit-area flatness normalizes the deviation by the square root of the surface area to provide a size-independent flatness metric. This is useful when comparing flatness across different part sizes.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Measure surface heights at multiple points using a surface plate and dial indicator or CMM.

Max Height:--- mm
Min Height:--- mm
Measurement Points:9 pts
Result: Height Range: 0.0700 mm
Step 2

Calculate flatness deviation and normalize by surface area.

FlatnessDeviation = h_max - h_min
Part Length:undefined mm
Part Width:undefined mm
Surface Area:30000.00 mm²
Intermediate: FlatnessDeviation = 0.0700 mm
Result: Flatness per √Area: 0.0004 mm/mm
Step 3

Compare against tolerance to determine pass/fail status.

%Tolerance = (Deviation / Tolerance) × 100%
Flatness Deviation:0.0700 mm
Tolerance Limit:--- mm
Intermediate: %Tolerance = (0.0700 / ---) × 100%
Result: 70.00% of tolerance used — Pass
Final Answer
0.0700

Worked Examples

See how the calculator works with different scenarios.

Scenario

A 200×150 mm granite surface plate is checked with an electronic level. Highest point: 0.05 mm, lowest point: -0.02 mm. Tolerance: 0.1 mm.

Inputs

Max Height:0.05 mm
Min Height:-0.02 mm
Length:200 mm
Width:150 mm
Tolerance:0.1 mm

Calculation

Flatness Deviation = 0.05 - (-0.02) = 0.07 mm % Tolerance = (0.07/0.10) × 100 = 70.0% Status: Pass

Result

Flatness Deviation: 0.0700 mm, Status: Pass (70% of tolerance)

Interpretation

The surface plate meets the Grade 1 flatness requirement with margin.

Understanding Your Result

Your Result: Flatness Deviation: 0.0700 mm

Typical range: Precision lapped surfaces: 0.001-0.005 mm. Ground surfaces: 0.005-0.02 mm. Machined surfaces: 0.02-0.1 mm. Surface plates (Grade 1): 0.005-0.015 mm. General engineering: 0.1-0.5 mm.

What This Means

Flatness quantifies how much a surface deviates from a perfect plane. A flatness of 0.1 mm means all surface points lie between two parallel planes 0.1 mm apart.

Why It Matters

Flatness is critical for sealing surfaces, bearing surfaces, machine ways, and any application where two surfaces must mate uniformly. Poor flatness causes leakage, misalignment, uneven stress distribution, and premature wear.

Professional Interpretation

Flatness is measured without a datum reference per ASME Y14.5. The tolerance zone consists of two parallel planes. Surface plate measurements use comparison methods; CMM measurements use best-fit plane algorithms. Temperature effects must be considered for large parts or high-precision requirements.

Recommendations

  • •Verify surface plate calibration before flatness measurement
  • •Use sufficient measurement points to capture surface variation (minimum 5 points)
  • •Consider temperature stabilization for precision measurements
  • •Document measurement locations with a grid map
  • •Use appropriate filter settings to separate waviness from roughness
  • •Check flatness in both longitudinal and transverse directions

Educational Content

Introduction

Flatness is one of the fundamental form tolerances in geometric dimensioning and tolerancing (GD&T). It controls the variation of a surface element from a perfect plane without requiring any datum reference.

Concept Explanation

Flatness is defined as the condition of a surface having all elements in one plane. The flatness tolerance specifies a tolerance zone defined by two parallel planes within which the entire surface must lie. The tolerance value represents the distance between these two planes.

Applications

▸Surface plates and inspection fixtures
▸Machine tool beds and ways
▸Engine cylinder head and block deck surfaces
▸Valve seats and sealing surfaces
▸Optical mirror and window mounting surfaces
▸Semiconductor wafer chuck surfaces
▸Precision granite and cast iron reference surfaces

Benefits

  • •Ensures proper sealing of gasketed joints
  • •Prevents distortion in assembled components
  • •Reduces stress concentrations at mating surfaces
  • •Improves bearing load distribution
  • •Enables accurate fixturing and alignment
  • •Facilitates consistent machining operations

Limitations

  • •Does not control orientation relative to any datum
  • •May not capture localized surface defects if measurement points are sparse
  • •Temperature gradients can cause apparent flatness errors
  • •Does not differentiate between waviness and roughness components

Best Practices

  • •Always stabilize temperature before measurement
  • •Use adequate point density to capture surface topography
  • •Employ consistent measurement force for contact methods
  • •Document measurement grid coordinates for repeatability
  • •Apply statistical process control to flatness data
  • •Consider environmental vibration isolation
  • •Use calibrated reference standards for verification

Common Misconceptions

Myth: Flatness and surface finish are the same.
Truth: Flatness controls form (macro-geometry), while surface finish controls roughness (micro-geometry). A surface can be smooth but not flat.
Myth: Flatness requires a datum reference.
Truth: Flatness is a form tolerance that does not require a datum. It controls only the surface itself.
Myth: Flatness can be measured with a straightedge alone.
Truth: A straightedge checks straightness of lines, not flatness of an area. Multiple line measurements or surface plates are needed.

Practical Tips

  • •Use a surface plate and dial indicator for quick flatness checks
  • •Apply minimum 3×3 grid of measurement points for adequate coverage
  • •Zero the indicator at the highest point for easy deviation reading
  • •Consider part support: warping can occur from clamping forces
  • •Use feeler gauges for Go/No-Go pass/fail flatness checks
  • •For large surfaces, use a laser interferometer or electronic levels
  • •Record temperature at time of measurement for traceability

Common Mistakes

Using too few measurement points to characterize the surface
For areas over 100×100 mm, use at least 9 points in a 3×3 grid. More points for larger or more critical surfaces.
Not accounting for surface plate flatness error
Subtract the surface plate error from the measurement or use a certified Grade-0 or Grade-1 plate.
Measuring on an unstable or dirty surface plate
Clean both the surface plate and part. Ensure the plate is on a stable foundation with vibration isolation.
Confusing flatness with parallelism or thickness variation
Flatness controls only the surface form, not its relationship to another surface. Use parallelism for orientation control.

Assumptions

This calculator makes the following assumptions to provide estimates:

Rigid Surface Assumption: The calculation assumes the surface does not deform under its own weight or measurement forces.
Ideal Measurement Conditions: Temperature is assumed at 20°C standard. Thermal expansion effects are not included.
Uniform Grid Sampling: The reference points are assumed to be uniformly distributed for best-fit plane calculation.
Linear Height Variation: Simple peak-to-valley calculation assumes the surface variation is captured by min and max measurements.

Limitations

Be aware of these limitations when using this calculator:

Simple Peak-to-Valley Metric: Peak-to-valley flatness does not characterize the spatial distribution or frequency of surface variation.
No Waviness Separation: The calculator does not separate form error from waviness. Appropriate filtering should be applied separately.
Best-Fit Plane Simplification: The reference plane uses a simple average of reference points, not a true least-squares best-fit plane.
Point Density Dependent: Accuracy depends entirely on the number and distribution of measurement points. Sparse sampling may miss localized peaks.

Frequently Asked Questions

Answers to common questions about this calculator.

What is flatness in GD&T?
Flatness is a form tolerance that controls how much a surface deviates from a perfect plane. The tolerance zone consists of two parallel planes within which the entire surface must lie.
How is flatness measured?
Flatness is typically measured using a surface plate and dial indicator, coordinate measuring machine (CMM), laser interferometer, or electronic levels. The surface is probed at multiple points to find the peak-to-valley height variation.
Does flatness require a datum?
No, flatness is a form tolerance that does not require any datum reference. It controls only the surface itself, not its relationship to other features.
What is the difference between flatness and parallelism?
Flatness controls the form of a single surface relative to itself. Parallelism controls the orientation of a surface relative to a datum. A surface can be flat but not parallel to a datum.
What is a typical flatness tolerance?
Typical flatness tolerances range from 0.001 mm (precision lapped) to 0.5 mm (general machining). Surface plates are graded from Grade 0 (0.003 mm) to Grade 3 (0.05 mm).
How do temperature changes affect flatness?
Temperature gradients cause differential thermal expansion, creating apparent or real flatness errors. Precision measurements should be performed at 20°C standard temperature.
Can flatness be inspected without a surface plate?
Yes, using CMM, laser interferometry, electronic levels, or liquid surface methods. However, surface plate comparison is the most common method in manufacturing.
What does flatness per unit area mean?
Flatness per unit area normalizes the deviation by the square root of area, providing a size-independent measure. This helps compare flatness across different part sizes.
How many points should I measure for flatness?
Minimum 3 points define a plane, but 9 points (3×3 grid) minimum is recommended. For high-precision or large surfaces, 25+ points may be needed.
What is the ISO standard for flatness?
ISO 1101 defines flatness tolerancing. ISO 12781 specifies flatness measurement methods. ASME Y14.5 is the US standard for GD&T including flatness.
How does flatness affect gasket sealing?
Poor flatness causes uneven gasket compression, leading to leakage paths. Flatness of 0.03-0.05 mm per 100 mm is typical for gasket sealing surfaces.
What is the difference between flatness and straightness?
Straightness controls a line element in one direction. Flatness controls an entire surface in two dimensions. Flatness implies straightness in all directions.
How do I specify flatness on a drawing?
Use the GD&T flatness symbol (tilted parallelogram) followed by the tolerance value in a feature control frame. No datum required.
What causes flatness errors in machining?
Thermal distortion, clamping forces, tool pressure, material stress relief, machine tool geometry errors, and inadequate coolant can all cause flatness errors.
Can I use flatness with a material condition modifier?
No, flatness is a form tolerance and cannot have material condition modifiers (MMC, LMC) per ASME Y14.5.
How do I measure flatness of a large surface?
Use laser interferometers (Renishaw XL-80), electronic levels (Wyler), or theodolite methods for surfaces larger than 1 meter.
What is the relationship between flatness and coplanarity?
Coplanarity controls two or more surfaces that should lie in the same plane. It combines flatness with relative orientation. Flatness applies to a single surface.
How does coating thickness affect flatness?
Non-uniform coating application can introduce flatness deviations. Thick coatings (painting, plating) may require flatness verification after coating.
What is the flatness of a typical granite surface plate?
Grade 0: 0.003 mm (over 300 mm), Grade 1: 0.005 mm, Grade 2: 0.010 mm, Grade 3: 0.025 mm. Laboratory grade plates achieve 0.001 mm.
How do I improve flatness of a machined part?
Stress-relieve material before machining, use proper clamping techniques, allow thermal stabilization, use sequential roughing and finishing passes, and consider lapping or grinding.
What is the repeatability of flatness measurements?
Surface plate measurements typically achieve 0.002-0.005 mm repeatability. CMM measurements achieve 0.001-0.003 mm. Laser interferometers achieve 0.0005 mm.
How does material hardness affect flatness?
Harder materials maintain flatness better under load but are harder to machine flat initially. Soft materials deform easily during clamping.
Can flatness be measured on a curved surface?
Flatness by definition applies to planar surfaces. For curved surfaces, use profile of a line or profile of a surface tolerances.
What is the effect of vibration on flatness measurement?
Vibration causes measurement noise and reduces repeatability. Precision measurements require vibration isolation tables or active cancellation.
How do I interpret a flatness of 0.1 mm?
All surface points must lie between two parallel planes spaced 0.1 mm apart. This is relatively loose for a 100 mm part but tight for a 1000 mm part.
What is the least squares plane method?
The least squares plane minimizes the sum of squared distances from measured points to the reference plane. This provides a statistically robust reference for flatness evaluation.
How does surface roughness affect flatness measurement?
Surface roughness can add noise to flatness readings. Use appropriate probe tip size and filtering to separate roughness from form error.
What are the three common flatness evaluation methods?
1) Minimum zone method (ISO 1101) - two parallel planes with minimum separation containing all points. 2) Least squares plane. 3) Peak-to-valley from a reference plane.
How do I document flatness measurement results?
Record date, temperature, measurement equipment, calibration status, point coordinates, and deviation values. Use a grid map showing height at each point.
What is the difference between flatness and thickness variation?
Thickness variation measures the difference between two opposite surfaces. Flatness measures a single surface. A part can have uniform thickness but poor flatness if both surfaces curve together.
How does part size affect flatness capability?
Larger parts are harder to produce flat due to material stress, thermal effects, and machine tool limitations. Flatness tolerance should be scaled with part size.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

ASME Y14.5
American Society of Mechanical Engineers standard for dimensioning and tolerancing, including GD&T symbols and rules.
Best-Fit Plane
A reference plane calculated to minimize the sum of squared deviations from measured surface points.
CMM
Coordinate Measuring Machine - a device for measuring the geometry of physical objects by probing points on the surface.
Coplanarity
The condition where two or more surfaces lie in the same plane. Combines flatness with relative orientation.
Datum
A theoretically exact point, axis, or plane from which measurements are taken. Flatness does not require a datum.
Feature Control Frame
A rectangular frame in GD&T containing the geometric characteristic symbol, tolerance value, and optional datum references.
Form Tolerance
A GD&T tolerance that controls the shape of a feature (flatness, straightness, roundness, cylindricity).
Grade (Surface Plate)
Classification of surface plate accuracy: Grade 0 (laboratory), Grade 1 (inspection), Grade 2 (shop), Grade 3 (general use).
ISO 1101
International standard for geometrical product specifications (GPS) - geometrical tolerancing of form, orientation, location, and run-out.
Lapping
A precision finishing process using abrasive particles between two surfaces to achieve high flatness and surface finish.
Least Squares Plane
The plane that minimizes the sum of squared orthogonal distances from measured points to the plane.
Minimum Zone Method
The ISO-recommended method for flatness evaluation using two parallel planes at minimum separation containing all points.
Peak-to-Valley
The difference between the highest and lowest points on a surface. Also called total height variation.
Profile of a Surface
A GD&T tolerance that controls the form, size, orientation, and location of a surface relative to a theoretically exact profile.
Surface Plate
A precision reference surface, typically made of granite or cast iron, used for measurement and inspection of flatness.
Tolerance Zone
The three-dimensional region within which all points of a feature must lie. For flatness, it is two parallel planes.
Waviness
Surface irregularities with larger spacing than roughness, typically caused by machine tool vibrations or deflections.
MMC
Maximum Material Condition - the condition where a feature contains the maximum amount of material (e.g., minimum hole size, maximum shaft size).
LMC
Least Material Condition - the condition where a feature contains the minimum amount of material (e.g., maximum hole size, minimum shaft size).
RFS
Regardless of Feature Size - the condition where a tolerance applies regardless of the actual size of the feature.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

ASME Y14.5-2018ISO 1101:2017ISO 12781-1:2011ISO 2768-1:1989ISO 8015:2011ISO 5459:2011

Was This Calculator Helpful?

Page Information

Last Updated:

2026-07-30

Version:

2.0.0

License:

Free to use for educational and professional purposes.