Finding the gradient
s = 100 × h ÷ L. A rise of 80 mm over a length of 3,200 mm gives 2.5%.
Calculating model railway gradients involves two questions: how much height can you gain over the available route, and can the intended train manage it even when restarting? The calculator establishes the geometry. You check operational reliability with your actual rolling stock.
Measure the height difference between railhead levels at the start and finish. The track length follows the centreline in plan view, including curves. The straight-line distance between two points on the baseboard is not sufficient. For tracks crossing above one another, also allow for the bridge structure, track bedding and required clearance.
Choose the value you want to calculate and enter the two known values. Lengths are in millimetres; 1 m equals 1,000 mm. You can use either a decimal point or a comma. The calculator uses positive height differences; the same magnitude applies to a descent in the opposite direction.
The calculation does not establish a permissible train load. Curve resistance, wheel adhesion, vehicle overhang and required vertical transition radii are not checked automatically.
In the basic calculation, h is the height difference, L is the horizontal length along the track centreline and s is the gradient expressed as a percentage. Height and length must use the same unit. For example, do not mix 10 cm and 4 m without converting them first.
s = 100 × h ÷ L. A rise of 80 mm over a length of 3,200 mm gives 2.5%.
L = 100 × h ÷ s. For a rise of 120 mm at 2%, you need 6,000 mm of track length without transitions.
h = L × s ÷ 100. Over a length of 2,400 mm at 2.5%, the calculated rise is 60 mm.
Percent and per mille describe the same relationship using different factors: 1% = 10‰. A gradient of 2.5% equals 25‰ or a ratio of 1:40. Angles are different: 3% is approximately 1.72°, whereas 3° is already around 5.24%.
The actual sloping track length is slightly greater than its horizontal projection. For a straight ramp with a constant gradient, Pythagoras gives: track length = √(L² + h²). At typical model railway gradients, the difference is small; nevertheless, the length in plan view remains the correct denominator for an accurate percentage calculation.
A height difference of 100 mm over a total of five metres gives an average of 2%. However, if two metres are level, the remaining three-metre ramp already needs approximately 3.33% without transitions. What matters to the locomotive is the section it is actually negotiating. Divide longer routes into sections with similar profiles and check each change in height separately.
| Gradient | Per mille | Rise over 1 m | Length for a 100 mm rise |
|---|---|---|---|
| 1% | 10‰ | 10 mm | 10.00 m |
| 1.5% | 15‰ | 15 mm | 6.67 m |
| 2% | 20‰ | 20 mm | 5.00 m |
| 2.5% | 25‰ | 25 mm | 4.00 m |
| 3% | 30‰ | 30 mm | 3.33 m |
| 4% | 40‰ | 40 mm | 2.50 m |
A fixed maximum gradient based solely on model scale would be misleading. MOROP recommendation NEM 101, 2025 edition distinguishes between types of line and prototype gauges. It gives the following recommended upper limits; these should not be fully used on tight curves.
| Type of line | Standard-gauge prototype | Narrow-gauge prototype |
|---|---|---|
| Main line | 2.5% | 3.3% |
| Branch line | 3.0% | 4.0% |
| Station tracks | 0.4% | 0.5% |
Plan storage tracks as level as possible to prevent parked vehicles from rolling away. Whether a gradient is manageable must be tested with the intended train load and locomotive. The recommendation does not promise that every train formation will work up to these values.
The percentage calculation is identical for Z, N, TT, H0, 00, S, 0, 1 and II. H0e, H0m, H0f, TTe, 0e, 0m, IIm and garden railways use the same formula too. Scale, model track gauge and the performance of a particular drive are still separate factors. An H0e locomotive therefore does not automatically need the same ramp design as an N scale model that also runs on 9 mm track.
For long passenger or freight trains, it is worth starting with a gentle gradient, for example 2%. This is a planning approach, not a general assurance of suitability. Short branch-line trains, heavy large-scale models and rack railway vehicles have different requirements. Rack operation needs matching rack rails and vehicles designed for them; an ordinary locomotive does not gain this ability from a more powerful controller.
Without transitions, 100 ÷ 4,000 × 100 gives exactly 2.5%. If you reserve 300 mm within this length for each smooth entry and exit, the middle section needs approximately 2.70% under the linear model described. To keep it at 2.5%, the total length in plan view increases to 4,300 mm.
Suppose the project needs 65 mm of clear space above the lower track and another 15 mm up to the upper railhead. The height difference is then 80 mm. At 2%, the initial ramp length required is 4,000 mm. These values are a worked example; the vehicle envelope, bridge and overhead wiring must be checked for the actual project.
A rise of 60 mm over 2,000 mm gives 3%. Extend the route to 3,000 mm and the calculated gradient falls to 2%. The track plan will show whether a loop or a route along the edge of the layout will fit. Additional tight curves must not cancel out the benefit gained.
Curves introduce additional running resistance and lateral forces. For a circular helix, the length of one turn in plan view is 2 × π × track centreline radius. A rise of 90 mm with a radius of 450 mm gives approximately 3.18%. A larger radius reduces the gradient for the same rise per turn. Find details and a suitable calculator in Planning and Building a Model Railway Helix.
There is no universal percentage allowance for curves that reliably describes every locomotive and rolling stock combination. Plan with margins, particularly in hidden areas. With a hidden staging yard too, what matters is whether a stopped train can reach the adjoining ramp under its own power.
A sharp kink between level and sloping track can cause long vehicles to ground, unload wheels or move couplings outside their working range. Make crests and dips smooth. The required vertical transition depends on the change in gradient and vehicle geometry; one fixed transition length does not suit every gauge.
Under the chosen model, where the gradient changes uniformly, the average gradient of each transition is half that of the middle section. For transition lengths a and b, this gives: h = s ÷ 100 × [L − (a + b) ÷ 2]. The total length L includes both transitions. An actual construction with a different transition shape may give different results.
Mark measuring positions along the track centreline. On a constant 2% gradient, for example, the railhead rises by 5 mm every 250 mm. In the transitions, these height increments change. A continuous, properly supported trackbed helps produce a smooth alignment.
Subtract the actual combined height of the track and bedding from the planned railhead level. Different track systems may have different construction heights. Check every change of material before fixing the supports permanently.
Each additional vehicle increases the load. Stiff wheelsets, lighting pickups and unsuitable couplings add further resistance. The locomotive needs sufficient adhesion at its driven wheels. Effective motor control can stabilise speed, but it cannot replace missing wheel adhesion.
Check for dirty wheels and track, and damaged or aged traction tyres. Replacement tyres must fit the wheel and groove; use the vehicle's spare parts list. Untested extra weights or arbitrary tyres can introduce new problems. More speed can at best disguise a difficult ramp until the next stop.
Use the planned track system, the tightest radius and the intended transitions. Use a straightedge and height measurements to check whether individual sections are steeper than the average.
Run slowly uphill, stop at demanding points and restart. Test every locomotive and direction of travel you intend to use, including propelled push-pull trains where applicable.
Check braking behaviour, vehicles pushing against each other and unintended uncoupling. Repeat the test under comparable conditions. Record the train formation and any troublesome points before concealing the track.
First check that the rolling stock runs freely and electrical pickup is reliable. After that, a lighter train, a longer route or a gentler gradient can help. Where tracks cross at different levels, the height difference can be shared between an ascending and a descending route; both approaches and their connections must suit this arrangement. Double-heading requires matched drives and a suitable operating concept.
If the wheels keep turning while the train stops, check adhesion and load. If the motor and lighting cut out together, also consider electrical pickup, contacts and the power supply. If only one vehicle jerks at a transition, first examine track alignment and vehicle geometry at that point. These observations help avoid rebuilding the entire ramp prematurely.
The product search covers trackbed components, flexible track, track planning, traction tyres and locomotives. Choose a category and, if needed, a gauge. The text filter searches the products already loaded; more shop results can be added. A product listing does not guarantee suitability for a particular gradient or train load.
Loading the product list. Alternatively, open the selected category directly in the shop.
Open the selected category in the shop
A 3% gradient means a rise of 3 mm over 100 mm of horizontal track, or 30 mm per metre. The equivalent prototype notation is 30‰. Three percent is not three degrees.
Without transitions, you need five metres at 2%, four metres at 2.5% and approximately 3.33 metres at 3%. Smooth transitions increase the required length if the middle-section gradient is to stay the same.
This cannot be guaranteed without knowing the rolling stock, radius and train load. Four percent is demanding for many ordinary train formations. Pay particular attention to slow running and restarting; a successful run with a locomotive on its own is not enough.
The hauled vehicles increase load and running resistance. Check how freely they run, their pickup shoes and couplings, the traction tyres and track condition. Try reducing the number of vehicles. This helps distinguish between an overly demanding ramp and individual vehicles causing excessive drag.
Suitable motor control can improve running. However, spinning wheels indicate insufficient usable adhesion. A different decoder will not eliminate an excessively tight radius or an excessive train load.
Check for abrupt changes in gradient, a twisted trackbed, track joint problems and restricted coupling movement. Move affected vehicles slowly over the spot to pinpoint the cause.