Calculator Tools Calculator Tools

Military Load Classification to Civilian Axle Load Converter

Nov 25, 2025

About this app

Military Load Class (MLC) calculator and converter. Convert a class to the standard vehicle, then compare civilian axle loads for US and European roads and the bend on one beam.

MLC to Civilian Axle Load Converter FM 3-34.343 Table B-1 · STANAG 2021 classes MLC to Civilian Axle Load Converter2025-11-25 Pick a class. This page shows the vehicle, the axles against US and European road limits, and the bend on one beam. Class Vehicle Wheeled Tracked On the Span One vehicle Convoy, 100 ft Simple Span Unit feet metres Length MLC 4 Wheeled Vehicle Road Limit Check Bend on a 30 ft Beam One beam on two supports. The length is the Simple Span control above. Every Standard Class Class Tracked Wheeled Max single axle Sources Vehicles, Moment, and Shear TM 3-34.22, Military Nonstandard Fixed Bridging, 17 October 2013. Official Army Publishing Directorate record. This TM supersedes FM 3-34.343 and keeps the same text. Appendix B holds Table B-1, Table B-2, and Table B-3. TM 3-34.22 public PDF. Table B-1 is on pages B-2 through B-5. Table B-2 starts on page B-6. Table B-3 follows Table B-2. FM 3-34.343, 12 February 2002, full manual. Internet Archive copy of the field manual that TM 3-34.22 superseded. FM 3-34.343 Appendix B, vehicle classification text. Paragraphs B-1 through B-3 state that the class is a load effect, that tracked weight in short tons is the class nu...

Put this on your site

Source

                    <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MLC to Civilian Axle Load Converter</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--ink: #1c1915;
--muted: #5e584e;
--paper: #efe4cc;
--sheet: #fff9ee;
--line: #1c1915;
--yellow: #f0c400;
--over: #8d1d1d;
--ok: #1d5c34;
--soft: #f6efe0;
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: "Source Sans 3", "Segoe UI", sans-serif;
font-size: 16px;
line-height: 1.45;
}
.sheet {
width: 100%;
max-width: none;
margin: 0;
padding: 22px 18px 32px;
}
.head {
display: block;
margin-bottom: 14px;
}
.head > div { width: 100%; min-width: 0; }
header h1 {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-weight: 700;
font-size: 40px;
line-height: 0.95;
letter-spacing: 0.01em;
margin: 0;
}
.title-text { min-width: 0; }
.made {
flex: none;
color: #8f887c;
font-family: "Source Sans 3", "Segoe UI", sans-serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 0;
line-height: 1;
white-space: nowrap;
}
.kicker {
margin: 0 0 6px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.deck {
margin: 8px 0 0;
max-width: 68ch;
font-size: 16px;
}
.about { margin: 14px 0 0; padding-left: 1.2em; max-width: 78ch; }
.about li { margin: 0 0 4px; }
.discs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
gap: 8px;
margin: 0;
}
.disc {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid var(--ink);
background: var(--yellow);
color: var(--ink);
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 20px;
font-weight: 700;
cursor: pointer;
padding: 0;
justify-self: center;
}
.disc[aria-pressed="true"] {
background: #114f86;
color: #fff;
border-color: #0c3a64;
outline: 3px solid #114f86;
outline-offset: 2px;
}
.disc:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
outline: 3px solid #114f86;
outline-offset: 2px;
}
.controls, .card, .table-wrap {
background: var(--sheet);
border: 2px solid var(--line);
box-shadow: 4px 4px 0 var(--line);
}
.controls {
display: block;
padding: 12px;
margin-bottom: 14px;
}
.control-row {
display: flex;
align-items: flex-start;
gap: 18px;
margin-top: 12px;
}
.mode-stack {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
gap: 12px 18px;
}
.span-controls { flex: 1 1 280px; min-width: 240px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.seg { display: flex; }
.seg button {
border: 2px solid var(--ink);
background: var(--sheet);
color: var(--ink);
font: inherit;
font-weight: 700;
padding: 7px 12px;
cursor: pointer;
}
.seg button + button { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.span-box, .class-box { display: flex; gap: 6px; align-items: center; }
input[type="number"] {
width: 88px;
border: 2px solid var(--ink);
background: #fff;
color: var(--ink);
font: inherit;
font-weight: 700;
padding: 7px 8px;
}
select {
border: 2px solid var(--ink);
background: #fff;
color: var(--ink);
font: inherit;
font-weight: 700;
padding: 7px 8px;
}
input[type="range"] { width: 100%; accent-color: #8a6a00; }
.points { margin: 8px 0 0; padding-left: 1.2em; }
.points li { margin: 0 0 4px; }
#summary { margin: 0 0 14px; font-size: 17px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 0; min-width: 0; }
.sheet, .card, .controls, .grid > * { min-width: 0; }
.card { padding: 12px 14px 14px; margin-bottom: 14px; }
.card h2 {
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 26px;
margin: 0 0 8px;
line-height: 1;
}
.mass {
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 40px;
line-height: 0.95;
margin: 0;
}
.sub { color: var(--muted); margin: 2px 0 8px; }
svg.rig { width: 100%; height: auto; display: block; background: var(--soft); border: 1px solid var(--ink); }
.note, .warn {
margin: 8px 0 0;
font-size: 14px;
}
.warn {
background: var(--yellow);
border: 2px solid var(--ink);
padding: 8px 10px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.region h3 {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
margin: 0 0 6px;
}
.pill {
font-family: "Source Sans 3", "Segoe UI", sans-serif;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: #fff;
padding: 3px 8px;
border: 2px solid transparent;
}
.pill.over { background: var(--over); }
.pill.ok { background: var(--ok); }
.rules { list-style: none; margin: 0; padding: 0; }
.rule {
display: grid;
grid-template-columns: 28px 1fr auto;
column-gap: 8px;
align-items: center;
padding: 8px 0;
border-top: 1px solid #d9d0bc;
}
.badge { width: 26px; height: 26px; grid-row: 1 / span 2; }
.rule-name { font-weight: 700; }
.rule-val {
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 26px;
font-weight: 700;
line-height: 1;
}
.rule.over .rule-val { color: var(--over); }
.rule.ok .rule-val { color: var(--ok); }
.rule-lim { grid-column: 2 / span 2; color: var(--muted); font-size: 13px; font-weight: 600; }
.aside { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
table.pair { width: 100%; margin-top: 10px; font-size: 16px; }
table.pair th, table.pair td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #d9d0bc; }
table.pair th { font-size: 14px; }
table.pair td { text-align: right; font-weight: 700; }
.compare { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; }
.compare p { margin: 0; }
.compare b {
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 28px;
font-weight: 700;
margin-right: 6px;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { border: 2px solid var(--ink); padding: 8px; background: #fff; }
.stat b {
display: block;
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 24px;
line-height: 1;
overflow-wrap: anywhere;
}
td .m2 { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: right; padding: 5px 6px; border-bottom: 1px solid #d9d0bc; }
th:first-child, td:first-child { text-align: left; }
th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
tr.active td { background: var(--yellow); font-weight: 700; }
#classTable tr { cursor: pointer; }
a { color: #114f86; font-weight: 700; }
.refs { margin: 0; padding-left: 1.15em; }
.refs li { margin: 0 0 10px; }
.card h3 {
font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
font-size: 22px;
line-height: 1;
margin: 16px 0 6px;
}
.card .region h3 { margin: 0 0 6px; }
.region h3 .flag {
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
font-size: 18px;
margin-right: 6px;
}
@media (max-width: 640px) {
svg.rig {
width: min(100%, 300px);
max-height: 120px;
margin-right: auto;
margin-left: auto;
}
}
.table-wrap { overflow-x: auto; max-width: 100%; }
table.defs td, table.defs th { text-align: left; }
.err { color: var(--over); font-weight: 700; min-height: 1.2em; margin: 4px 0 0; }
@media (max-width: 800px) {
.stats, .split { grid-template-columns: 1fr; }
.sheet { padding: 12px 10px 24px; }
.card, .controls { padding: 10px; box-shadow: 3px 3px 0 var(--line); }
header h1 { font-size: 30px; }
.made { font-size: 12px; }
.discs { grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); }
.disc { width: 40px; height: 40px; font-size: 18px; }
.control-row { flex-direction: column; align-items: stretch; }
.mode-stack { flex-direction: column; align-items: stretch; }
.span-controls { width: 100%; flex: none; min-width: 0; }
.seg { width: 100%; }
.seg button { flex: 1; }
.span-box { width: 100%; }
.span-box input[type="number"] { width: 100%; }
.mass { font-size: 34px; }
.stat b { font-size: 22px; }
#summary { font-size: 16px; }
}
</style>
</head>
<body>
<div class="sheet">
<header>
<div class="head">
<div>
<p class="kicker">FM 3-34.343 Table B-1 · STANAG 2021 classes</p>
<h1><span class="title-text">MLC to Civilian Axle Load Converter</span><time class="made" datetime="2025-11-25">2025-11-25</time></h1>
<p class="deck">Pick a class. This page shows the vehicle, the axles against US and European road limits, and the bend on one beam.</p>
</div>
</div>
</header>
<div class="controls">
<div class="class-field">
<label id="classLabel">Class</label>
<div class="discs" id="discs" role="group" aria-labelledby="classLabel"></div>
</div>
<div class="control-row">
<div class="mode-stack">
<div>
<label>Vehicle</label>
<div class="seg" role="group" aria-label="Vehicle type">
<button type="button" id="btnWheeled" aria-pressed="true">Wheeled</button>
<button type="button" id="btnTracked" aria-pressed="false">Tracked</button>
</div>
</div>
<div>
<label>On the Span</label>
<div class="seg" role="group" aria-label="One vehicle or a convoy">
<button type="button" id="btnOne" aria-pressed="false">One vehicle</button>
<button type="button" id="btnConvoy" aria-pressed="true">Convoy, 100 ft</button>
</div>
</div>
</div>
<div class="span-controls">
<div class="span-box">
<div>
<label for="spanInput">Simple Span</label>
<input id="spanInput" type="number" min="1" max="300" step="0.1" value="30">
</div>
<div>
<label for="spanUnit">Unit</label>
<select id="spanUnit">
<option value="ft" selected>feet</option>
<option value="m">metres</option>
</select>
</div>
</div>
<label for="spanRange">Length</label>
<input id="spanRange" type="range" min="4" max="300" step="1" value="30">
</div>
</div>
</div>
<div class="grid">
<section class="card">
<h2 id="vehicleTitle">MLC 4 Wheeled Vehicle</h2>
<div id="diagram"></div>
<p class="warn" id="warn" hidden></p>
<table class="pair">
<tbody id="vehicleNote"></tbody>
</table>
</section>
<section class="card">
<h2>Road Limit Check</h2>
<div class="split" id="limits"></div>
</section>
</div>
<section class="card">
<h2 id="spanTitle">Bend on a 30 ft Beam</h2>
<p class="note">One beam on two supports. The length is the Simple Span control above.</p>
<div class="stats" id="effects"></div>
<div class="compare" id="effectNote"></div>
</section>
<section class="card table-wrap">
<h2>Every Standard Class</h2>
<table>
<thead>
<tr>
<th>Class</th>
<th>Tracked</th>
<th>Wheeled</th>
<th>Max single axle</th>
</tr>
</thead>
<tbody id="classTable"></tbody>
</table>
</section>
<section class="card" id="sources">
<h2>Sources</h2>
<h3>Vehicles, Moment, and Shear</h3>
<ol class="refs">
<li><a href="https://armypubs.army.mil/ProductMaps/PubForm/Details.aspx?PUB_ID=100528" rel="nofollow noopener noreferrer" target="_blank">TM 3-34.22, Military Nonstandard Fixed Bridging, 17 October 2013</a>. Official Army Publishing Directorate record. This TM supersedes FM 3-34.343 and keeps the same text. Appendix B holds Table B-1, Table B-2, and Table B-3.</li>
<li><a href="https://rdl.train.army.mil/catalog-ws/view/100.ATSC/371AE35E-B7B1-4B4B-96B8-1D7BC8074840-1382731997926/tm3_34x22.pdf" rel="nofollow noopener noreferrer" target="_blank">TM 3-34.22 public PDF</a>. Table B-1 is on pages B-2 through B-5. Table B-2 starts on page B-6. Table B-3 follows Table B-2.</li>
<li><a href="https://archive.org/details/fm-3-34.343-military-nonstandard-fixed-bridging-2002" rel="nofollow noopener noreferrer" target="_blank">FM 3-34.343, 12 February 2002, full manual</a>. Internet Archive copy of the field manual that TM 3-34.22 superseded.</li>
<li><a href="https://www.globalsecurity.org/military/library/policy/army/fm/3-34-343/appb.htm" rel="nofollow noopener noreferrer" target="_blank">FM 3-34.343 Appendix B, vehicle classification text</a>. Paragraphs B-1 through B-3 state that the class is a load effect, that tracked weight in short tons is the class number, and that the convoy gap is 100 ft.</li>
<li><a href="https://files.engineering.com/files/8f923d3e-a223-47fd-8f8f-a88c82d88b7b/Pages_from_US_Army_Bridge_Manual.pdf" rel="nofollow noopener noreferrer" target="_blank">Appendix B page file used to read the tables</a>. The axle arrows, track sizes, gross masses, and the moment and shear checks in this tool were read from this copy of Table B-1, Table B-2, and Table B-3.</li>
</ol>
<h3>NATO Class System</h3>
<ol class="refs">
<li><a href="https://quicksearch.dla.mil/qsDocDetails.aspx?ident_number=280449" rel="nofollow noopener noreferrer" target="_blank">AEP-3.12.1.5, STANAG 2021, US listing</a>. Military Load Classification of Bridges, Ferries, Rafts and Vehicles. ASSIST-QuickSearch record. The full NATO text is distributed through the NATO standardization channel.</li>
<li><a href="https://wiki.openstreetmap.org/wiki/Key:mlc" rel="nofollow noopener noreferrer" target="_blank">OpenStreetMap Key:mlc gross-mass table</a>. Cross-check of STANAG 2021 Edition 6 gross masses. Where that table and Table B-1 differ, this tool uses Table B-1. The wheeled MLC 30 mass on that wiki repeats the MLC 40 mass. Table B-1 gives wheeled MLC 30 as 34 short tons.</li>
</ol>
<h3>US Road Limits</h3>
<ol class="refs">
<li><a href="https://www.ecfr.gov/current/title-23/chapter-I/subchapter-G/part-658/section-658.17" rel="nofollow noopener noreferrer" target="_blank">23 CFR 658.17, Weight</a>. Single axle 20,000 lb. Tandem axle 34,000 lb. Gross weight on the Interstate System 80,000 lb.</li>
<li><a href="https://ops.fhwa.dot.gov/freight/publications/brdg_frm_wghts/index.htm" rel="nofollow noopener noreferrer" target="_blank">FHWA Bridge Formula Weights</a>. Pamphlet for the federal bridge formula and the single-axle, tandem, and gross limits.</li>
</ol>
<h3>European Road Limits</h3>
<ol class="refs">
<li><a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:01996L0053-20190814" rel="nofollow noopener noreferrer" target="_blank">Council Directive 96/53/EC, consolidated text of 14 August 2019, Annex I</a>. Point 3.1, single non-driving axle, 10 tonnes. Point 3.4, driving axle, 11.5 tonnes. Point 3.5, tandem axles of motor vehicles. Point 2.2.1, five-axle and six-axle combinations, 40 tonnes.</li>
</ol>
<h3>Civilian Span Loads</h3>
<ol class="refs">
<li><a href="https://www.fhwa.dot.gov/bridge/lrfd/us_ds3.cfm" rel="nofollow noopener noreferrer" target="_blank">FHWA LRFD steel-girder design example</a>. States that HL-93 is a design truck or a design tandem plus a design lane load, and that the dynamic load allowance applies to the truck and the tandem only.</li>
<li><a href="https://onlinepubs.trb.org/onlinepubs/nchrp/nchrp_rpt_489c2.pdf" rel="nofollow noopener noreferrer" target="_blank">NCHRP Report 489, Appendix C</a>. States the HL-93 truck as 8 kip, 32 kip, and 32 kip, with spacings of 14 ft and 14 to 30 ft, a lane load of 0.64 kip/ft, and a dynamic factor of 1.33 on the truck only.</li>
<li><a href="https://connect.ncdot.gov/resources/Structures/Structures%20Seminars/LRFD_USA%20Innovative%20Bridge%20Design%20Specifications.pdf" rel="nofollow noopener noreferrer" target="_blank">FHWA seminar, LRFD live load</a>. States the design tandem as two 25 kip axles 4 ft apart, plus the 0.64 kip/ft lane load. Article 3.6.1.2.</li>
<li><a href="https://eurocodes.jrc.ec.europa.eu/EN-Eurocodes/eurocode-1-actions-structures" rel="nofollow noopener noreferrer" target="_blank">EN 1991-2, Eurocode 1, actions on bridges</a>. European Commission Joint Research Centre page for the standard that defines Load Model 1. This tool uses alpha factors of 1, a lane uniformly distributed load of 9 kN/m, and a tandem of two 300 kN axles 1.2 m apart.</li>
</ol>
</section>
<section class="card table-wrap" id="input-data">
<h2>Numbers in This Tool</h2>
<p class="note">These are the numbers in the program. Masses and axle arrows come from Table B-1 in the Appendix B file above. The span routine moves those loads across a simple span. For MLC 12 wheeled, the span routine uses 3, 5, 5, and 2 short tons because that set matches Table B-2. The diagram still shows the printed arrows.</p>
<table class="defs">
<thead>
<tr>
<th>Constant</th>
<th>Value in this tool</th>
</tr>
</thead>
<tbody>
<tr><td>Short ton</td><td>2,000 lb = 0.90718474 t</td></tr>
<tr><td>Short-ton force</td><td>8.89644323 kN</td></tr>
<tr><td>Kip-foot</td><td>1.35581795 kN·m</td></tr>
<tr><td>Foot</td><td>0.3048 m</td></tr>
<tr><td>Convoy gap</td><td>100 ft between ground contacts</td></tr>
<tr><td>US single axle</td><td>20,000 lb = 10 short tons</td></tr>
<tr><td>US tandem, gap 8 ft or less</td><td>34,000 lb = 17 short tons</td></tr>
<tr><td>US gross</td><td>80,000 lb = 40 short tons</td></tr>
<tr><td>EU non-driving axle</td><td>10 t</td></tr>
<tr><td>EU driving axle</td><td>11.5 t</td></tr>
<tr><td>EU motor-vehicle tandem</td><td>11.5 t if the gap is under 1 m; 16 t from 1 m to under 1.3 m; 18 t from 1.3 m to under 1.8 m</td></tr>
<tr><td>EU ordinary combination</td><td>40 t</td></tr>
<tr><td>HL-93 design truck</td><td>8 kip, 32 kip, 32 kip. First gap 14 ft. Second gap 14 ft to 30 ft, in 1 ft steps</td></tr>
<tr><td>HL-93 design tandem</td><td>25 kip and 25 kip, 4 ft apart</td></tr>
<tr><td>HL-93 design lane load</td><td>0.64 kip/ft on the full span</td></tr>
<tr><td>HL-93 dynamic allowance</td><td>1.33 on the truck or tandem only. Shown as a second moment</td></tr>
<tr><td>LM1</td><td>9 kN/m lane load, plus 300 kN and 300 kN at 1.2 m. Alpha factors are 1</td></tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>Class</th>
<th>Track ft</th>
<th>Shoe in</th>
<th>Width in</th>
<th>Wheeled gross</th>
<th>Axle arrows, short tons</th>
<th>Gaps, ft</th>
<th>Max axle</th>
<th>Span axles</th>
</tr>
</thead>
<tbody id="inputTable"></tbody>
</table>
</section>
<ul class="about">
<li>A class number is not a vehicle mass.</li>
<li>It is not a civilian axle load.</li>
<li>Pick a class button.</li>
<li>This page shows the vehicle for that class, the axle against US and European road limits, and the bend on one beam.</li>
<li>The <a href="#sources">sources</a> and the <a href="#input-data">input data</a> are above.</li>
<li>A green mark is within the road limit.</li>
<li>A red mark is over the road limit.</li>
<li>These are road rules, not a bridge rating.</li>
<li>A short span uses the class maximum single axle when that axle gives the larger bend or shear.</li>
<li>The military bend has no impact factor.</li>
<li>The US design load with impact adds 33 percent to the truck only.</li>
<li>The lane load is not increased.</li>
<li>A convoy leaves 100 ft between vehicles.</li>
<li>Tracked mass in short tons equals the class number.</li>
<li>A design rating still needs the crossing type, the member, and the full procedure.</li>
<li>This page is a screening aid.</li>
<li>Later editions of STANAG 2021 can change axle details.</li>
</ul>
</div>
<script>
(function () {
var TONNE = 0.90718474;
var KN_PER_TON = 8.89644323;
var KNM_PER_KIPFT = 1.35581795;
var FT_PER_M = 3.280839895;
var DATA = [
{ mlc: 4, trackFt: 6, shoeIn: 12, widthIn: 72, titleTons: 4.5, axles: [1, 1.75, 1.75], gaps: [8, 4], maxAxle: 2.5 },
{ mlc: 8, trackFt: 6.5, shoeIn: 12, widthIn: 78, titleTons: 9, axles: [3, 3, 3], gaps: [10, 4], maxAxle: 5.5 },
{ mlc: 12, trackFt: 9, shoeIn: 12, widthIn: 80, titleTons: 15, axles: [3, 6, 6, 2], gaps: [10, 4, 12], maxAxle: 8, analysisAxles: [3, 5, 5, 2] },
{ mlc: 16, trackFt: 9, shoeIn: 12, widthIn: 84, titleTons: 18.5, axles: [3, 6.5, 6.5, 2.5], gaps: [10, 4, 12], maxAxle: 10 },
{ mlc: 20, trackFt: 9, shoeIn: 18, widthIn: 96, titleTons: 24, axles: [4, 8.5, 8.5, 3], gaps: [10, 4, 12], maxAxle: 11 },
{ mlc: 24, trackFt: 9, shoeIn: 18, widthIn: 100, titleTons: 28, axles: [5, 10, 10, 3], gaps: [10, 4, 12], maxAxle: 12 },
{ mlc: 30, trackFt: 11, shoeIn: 18, widthIn: 100, titleTons: 34, axles: [6, 11, 11, 6], gaps: [10, 4, 12], maxAxle: 13.5 },
{ mlc: 40, trackFt: 12, shoeIn: 22, widthIn: 112, titleTons: 47, axles: [7, 13, 13, 14], gaps: [12, 4, 16], maxAxle: 17 },
{ mlc: 50, trackFt: 13, shoeIn: 26, widthIn: 128, titleTons: 58, axles: [8, 15, 15, 20], gaps: [12, 4, 16], maxAxle: 20 },
{ mlc: 60, trackFt: 14, shoeIn: 28, widthIn: 132, titleTons: 70, axles: [8, 18, 18, 13, 13], gaps: [12, 5, 15, 4], maxAxle: 23 },
{ mlc: 70, trackFt: 15, shoeIn: 31, widthIn: 138, titleTons: 80.5, axles: [10.5, 21, 21, 14, 14], gaps: [12, 5, 15, 4], maxAxle: 25.5 },
{ mlc: 80, trackFt: 16, shoeIn: 33, widthIn: 144, titleTons: 92, axles: [12, 24, 24, 16, 16], gaps: [12, 5, 18, 5], maxAxle: 28 },
{ mlc: 90, trackFt: 17, shoeIn: 35, widthIn: 150, titleTons: 103.5, axles: [13.5, 27, 27, 18, 18], gaps: [12, 5, 18, 5], maxAxle: 30 },
{ mlc: 100, trackFt: 18, shoeIn: 37, widthIn: 156, titleTons: 115, axles: [15, 30, 30, 20, 20], gaps: [12, 6, 20, 5], maxAxle: 32 },
{ mlc: 120, trackFt: 20, shoeIn: 40, widthIn: 168, titleTons: 138, axles: [18, 36, 36, 24, 24], gaps: [12, 6, 20, 5], maxAxle: 36 },
{ mlc: 150, trackFt: 24, shoeIn: 50, widthIn: 184, titleTons: 170, axles: [22, 42, 42, 32, 32], gaps: [12, 7, 22, 6], maxAxle: 42 }
];
var state = { mlc: 4, kind: "wheeled", spanFt: 30, convoy: true };

function row() {
for (var i = 0; i < DATA.length; i++) if (DATA[i].mlc === state.mlc) return DATA[i];
return DATA[8];
}
function num(n, d) {
return Number(n).toLocaleString("en-US", { maximumFractionDigits: d, minimumFractionDigits: 0 });
}
function tonnes(shortTons) { return shortTons * TONNE; }
function bothMass(shortTons) {
return num(tonnes(shortTons), 2) + " t (" + num(shortTons, 2) + " short tons)";
}
function tableMass(shortTons) {
return num(tonnes(shortTons), 2) + ' t<span class="m2">' + num(shortTons, 2) + ' short tons</span>';
}

function effectsOf(base, span) {
var len = base.length ? base[base.length - 1].dx : 0;
var bestM = 0;
var bestV = 0;
var step = 0.05;
for (var origin = -len; origin <= span; origin += step) {
var on = [];
for (var i = 0; i < base.length; i++) {
var x = origin + base[i].dx;
if (x > 0.02 && x < span - 0.02) on.push({ x: x, p: base[i].p });
}
if (!on.length) continue;
var total = 0;
var rRight = 0;
for (i = 0; i < on.length; i++) {
total += on[i].p;
rRight += on[i].p * on[i].x / span;
}
var rLeft = total - rRight;
var m = 0;
for (var s = 0; s < on.length; s++) {
var mom = rLeft * on[s].x;
for (i = 0; i < on.length; i++) if (on[i].x < on[s].x - 1e-6) mom -= on[i].p * (on[s].x - on[i].x);
if (mom > m) m = mom;
}
if (m > bestM) bestM = m;
var shear = Math.max(rLeft, rRight);
if (shear > bestV) bestV = shear;
}
return { kipFt: bestM * 2, shearTons: bestV };
}

function axleBase(axles, gaps) {
var base = [{ dx: 0, p: axles[0] }];
var x = 0;
for (var i = 0; i < gaps.length; i++) {
x += gaps[i];
base.push({ dx: x, p: axles[i + 1] });
}
return base;
}

function trackBase(weight, length) {
var n = Math.max(8, Math.round(length / 0.25));
var dx = length / n;
var base = [];
for (var i = 0; i < n; i++) base.push({ dx: (i + 0.5) * dx, p: weight / n });
return base;
}

function withConvoy(base, span, useConvoy) {
var len = base[base.length - 1].dx - base[0].dx;
if (len < 0.01) len = 0;
var pitch = len + 100;
var copies = useConvoy ? Math.max(1, Math.ceil((span + len) / pitch) + 1) : 1;
var all = [];
for (var c = 0; c < copies; c++) {
for (var i = 0; i < base.length; i++) all.push({ dx: base[i].dx + c * pitch, p: base[i].p });
}
return effectsOf(all, span);
}

function militaryEffect(item, kind, span, convoy) {
if (kind === "tracked") {
return withConvoy(trackBase(item.mlc, item.trackFt), span, convoy);
}
var axles = item.analysisAxles || item.axles;
var vehicle = withConvoy(axleBase(axles, item.gaps), span, convoy);
var singleM = item.maxAxle * 2 * span / 4;
var singleV = item.maxAxle;
return {
kipFt: Math.max(vehicle.kipFt, singleM),
shearTons: Math.max(vehicle.shearTons, singleV)
};
}

function codeEffects(span) {
var laneKipFt = 0.64 * span * span / 8;
var laneShearKip = 0.64 * span / 2;
var bestTruckM = 0;
var bestTruckV = 0;
for (var rear = 14; rear <= 30; rear += 1) {
var truck = effectsOf(axleBase([4, 16, 16], [14, rear]), span);
if (truck.kipFt > bestTruckM) bestTruckM = truck.kipFt;
if (truck.shearTons > bestTruckV) bestTruckV = truck.shearTons;
}
var tandem = effectsOf(axleBase([12.5, 12.5], [4]), span);
var truckM = bestTruckM + laneKipFt;
var tandM = tandem.kipFt + laneKipFt;
var useTandem = tandM > truckM;
var staticM = Math.max(truckM, tandM);
var vehicleM = useTandem ? tandem.kipFt : bestTruckM;
var vehicleV = (useTandem ? tandem.shearTons : bestTruckV) * KN_PER_TON;
return {
hlMoment: staticM,
hlMomentImpact: vehicleM * 1.33 + laneKipFt,
hlShearKn: vehicleV + laneShearKip * 4.448221615,
hlName: useTandem ? "tandem plus lane" : "truck plus lane"
};
}

function lm1(spanFt) {
var spanM = spanFt / FT_PER_M;
var udlKnM = 9 * spanM * spanM / 8;
var udlShear = 9 * spanM / 2;
var axleTons = 300 / KN_PER_TON;
var gapFt = 1.2 * FT_PER_M;
var tandem = effectsOf(axleBase([axleTons, axleTons], [gapFt]), spanFt);
return {
momentKipFt: tandem.kipFt + udlKnM / KNM_PER_KIPFT,
shearKn: tandem.shearTons * KN_PER_TON + udlShear
};
}

function euTandemLimit(gapM) {
if (gapM < 1) return 11.5;
if (gapM < 1.3) return 16;
if (gapM < 1.8) return 18;
return null;
}

function limitPair(item, which) {
var worst = null;
for (var i = 0; i < item.gaps.length; i++) {
var gapFt = item.gaps[i];
var gapM = gapFt / FT_PER_M;
var tons = item.axles[i] + item.axles[i + 1];
var limit = which === "us" ? (gapFt <= 8 ? 17 : null) : euTandemLimit(gapM);
if (limit === null) continue;
var value = which === "us" ? tons : tonnes(tons);
var ratio = value / limit;
if (!worst || ratio > worst.ratio) worst = { tons: tons, gapFt: gapFt, limit: limit, ratio: ratio };
}
return worst;
}

function timesText(value, limit) {
if (value <= limit * 1.005) return "Within the limit";
var tenths = Math.round((value / limit) * 10 + 1e-6);
return num(tenths / 10, 1) + "× the limit";
}

function badge(ok) {
var label = ok ? "Within the limit" : "Over the limit";
if (ok) {
return '<svg class="badge" viewBox="0 0 24 24" role="img" aria-label="' + label + '"><circle cx="12" cy="12" r="11" fill="#1d5c34"/><path d="M6.5 12.6 l3.2 3.2 7.8-8.2" fill="none" stroke="#fff9ee" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>';
}
return '<svg class="badge" viewBox="0 0 24 24" role="img" aria-label="' + label + '"><circle cx="12" cy="12" r="11" fill="#8d1d1d"/><path d="M8 8 l8 8 M16 8 l-8 8" fill="none" stroke="#fff9ee" stroke-width="2.4" stroke-linecap="round"/></svg>';
}

function ruleRow(name, valueT, over, detail) {
return '<li class="rule ' + (over ? "over" : "ok") + '">' + badge(!over) +
'<span class="rule-name">' + name + '</span>' +
'<span class="rule-val">' + num(valueT, 2) + ' t</span>' +
'<span class="rule-lim">' + detail + '</span></li>';
}

function region(title, flag, rows) {
var anyOver = false;
var html = "";
for (var i = 0; i < rows.length; i++) {
if (rows[i].over) anyOver = true;
html += rows[i].html;
}
var pill = anyOver ? '<span class="pill over">Over</span>' : '<span class="pill ok">Within</span>';
return '<section class="region"><h3><span><span class="flag" aria-hidden="true">' + flag + '</span>' + title + '</span>' + pill + '</h3><ul class="rules">' + html + '</ul></section>';
}

function diagram(item) {
var width = 340;
if (state.kind === "tracked") {
var x0 = 16;
var w = width - 32;
return '<svg class="rig" viewBox="0 0 ' + width + ' 108" role="img" aria-label="Tracked vehicle, contact length ' + num(item.trackFt, 1) + ' feet">' +
'<rect x="' + x0 + '" y="28" width="' + w + '" height="22" fill="#1c1915"/>' +
'<rect x="' + (x0 + 16) + '" y="10" width="' + Math.round(w * 0.42) + '" height="18" fill="#f0c400" stroke="#1c1915" stroke-width="2"/>' +
'<text x="' + (width / 2) + '" y="44" text-anchor="middle" fill="#f0c400" font-family="Source Sans 3, sans-serif" font-size="14" font-weight="700">' + item.mlc + ' short tons</text>' +
'<text x="' + (width / 2) + '" y="74" text-anchor="middle" font-family="Source Sans 3, sans-serif" font-size="13">Contact ' + num(item.trackFt, 1) + ' ft</text>' +
'<text x="' + (width / 2) + '" y="94" text-anchor="middle" font-family="Source Sans 3, sans-serif" font-size="13">Shoe ' + item.shoeIn + ' in · width ' + item.widthIn + ' in</text>' +
'</svg>';
}
var ax = item.axles;
var gaps = item.gaps;
var totalFt = 0;
var minGap = gaps[0];
for (var i = 0; i < gaps.length; i++) {
totalFt += gaps[i];
if (gaps[i] < minGap) minGap = gaps[i];
}
var pad = 20;
var scale = (width - pad * 2) / Math.max(totalFt, 1);
var gapPx = minGap * scale;
var r = gapPx < 28 ? Math.max(7, gapPx / 2 - 3) : 11;
var xs = [pad];
for (i = 0; i < gaps.length; i++) xs.push(xs[i] + gaps[i] * scale);
var parts = ['<svg class="rig" viewBox="0 0 ' + width + ' 82" role="img" aria-label="Wheeled axle diagram">'];
parts.push('<line x1="' + xs[0] + '" y1="40" x2="' + xs[xs.length - 1] + '" y2="40" stroke="#1c1915" stroke-width="3"/>');
for (i = 0; i < xs.length; i++) {
parts.push('<circle cx="' + xs[i] + '" cy="40" r="' + r + '" fill="#fff9ee" stroke="#1c1915" stroke-width="3"/>');
parts.push('<text x="' + xs[i] + '" y="70" text-anchor="middle" font-family="Source Sans 3, sans-serif" font-size="14" font-weight="700">' + num(ax[i], 2) + '</text>');
if (i < gaps.length) {
var mid = (xs[i] + xs[i + 1]) / 2;
parts.push('<text x="' + mid + '" y="16" text-anchor="middle" font-family="Source Sans 3, sans-serif" font-size="13">' + num(gaps[i], 1) + ' ft</text>');
}
}
parts.push('</svg>');
return parts.join('');
}

function render() {
var item = row();
var wheeled = state.kind === "wheeled";
document.getElementById("btnWheeled").setAttribute("aria-pressed", wheeled ? "true" : "false");
document.getElementById("btnTracked").setAttribute("aria-pressed", wheeled ? "false" : "true");
var discs = document.querySelectorAll(".disc");
for (var i = 0; i < discs.length; i++) {
discs[i].setAttribute("aria-pressed", Number(discs[i].dataset.mlc) === item.mlc ? "true" : "false");
}
var spanUnit = document.getElementById("spanUnit").value;
var spanShown = spanUnit === "m" ? state.spanFt / FT_PER_M : state.spanFt;
document.getElementById("spanInput").value = num(spanShown, 1);
document.getElementById("spanRange").value = String(Math.max(4, Math.min(300, Math.round(state.spanFt))));

document.getElementById("btnOne").setAttribute("aria-pressed", state.convoy ? "false" : "true");
document.getElementById("btnConvoy").setAttribute("aria-pressed", state.convoy ? "true" : "false");
var gross = wheeled ? item.titleTons : item.mlc;
document.getElementById("vehicleTitle").textContent = "MLC " + item.mlc + (wheeled ? " Wheeled Vehicle" : " Tracked Vehicle");
document.getElementById("diagram").innerHTML = diagram(item);

var warn = document.getElementById("warn");
if (wheeled && item.analysisAxles) {
warn.hidden = false;
warn.textContent = "Table B-1 prints axle arrows of 3, 6, 6, and 2 short tons. Those arrows sum to 17 short tons. The diagram title says 15 short tons. Table B-2 matches 3, 5, 5, and 2 short tons. The span numbers below use 3, 5, 5, and 2.";
} else {
warn.hidden = true;
warn.textContent = "";
}
if (wheeled) {
var heavy = Math.max.apply(null, item.axles);
document.getElementById("vehicleNote").innerHTML =
"<tr><th>Gross mass</th><td>" + num(tonnes(gross), 2) + " t</td><td>" + num(gross, 2) + " short tons</td></tr>" +
"<tr><th>Heaviest axle</th><td>" + num(tonnes(heavy), 2) + " t</td><td>" + num(heavy, 2) + " short tons</td></tr>" +
"<tr><th>Class max axle</th><td>" + num(tonnes(item.maxAxle), 2) + " t</td><td>" + num(item.maxAxle, 2) + " short tons</td></tr>";
} else {
var psi = (item.mlc * 2000) / (2 * item.trackFt * 12 * item.shoeIn);
document.getElementById("vehicleNote").innerHTML =
"<tr><th>Gross mass</th><td>" + num(tonnes(gross), 2) + " t</td><td>" + num(gross, 2) + " short tons</td></tr>" +
"<tr><th>Ground pressure</th><td>" + num(psi, 1) + " psi</td><td>" + num(psi * 6.894757, 0) + " kPa</td></tr>" +
"<tr><th>Wheeled max axle</th><td>" + num(tonnes(item.maxAxle), 2) + " t</td><td>" + num(item.maxAxle, 2) + " short tons</td></tr>";
}

var maxAxleT = tonnes(item.maxAxle);
var grossT = tonnes(gross);
var usSingleT = tonnes(10);
var usGrossT = tonnes(40);
var usRows = [];
var euRows = [];
usRows.push({
over: item.maxAxle > 10.05,
html: ruleRow("Single axle", maxAxleT, item.maxAxle > 10.05, "Limit " + num(usSingleT, 2) + " t (20,000 lb). " + timesText(item.maxAxle, 10))
});
euRows.push({
over: maxAxleT > 10.05,
html: ruleRow("Ordinary axle", maxAxleT, maxAxleT > 10.05, "Limit 10 t. " + timesText(maxAxleT, 10))
});
euRows.push({
over: maxAxleT > 11.55,
html: ruleRow("Drive axle", maxAxleT, maxAxleT > 11.55, "Limit 11.5 t. " + timesText(maxAxleT, 11.5))
});
if (wheeled) {
var usPair = limitPair(item, "us");
var euPair = limitPair(item, "eu");
if (usPair) {
var usOver = usPair.ratio > 1;
usRows.push({
over: usOver,
html: ruleRow("Axle pair, " + num(usPair.gapFt, 1) + " ft", tonnes(usPair.tons), usOver, "Limit " + num(tonnes(17), 2) + " t (34,000 lb). " + timesText(usPair.tons, 17))
});
} else {
usRows.push({ over: false, html: '<li class="aside">No axle pair is 8 ft or closer.</li>' });
}
if (euPair) {
var euOver = euPair.ratio > 1;
euRows.push({
over: euOver,
html: ruleRow("Axle pair, " + num(euPair.gapFt, 1) + " ft", tonnes(euPair.tons), euOver, "Limit " + num(euPair.limit, 1) + " t. " + timesText(tonnes(euPair.tons), euPair.limit))
});
} else {
euRows.push({ over: false, html: '<li class="aside">No axle pair is under 1.8 m. Europe counts two single axles.</li>' });
}
}
var usGrossOver = gross > 40.05;
var euGrossOver = grossT > 40.05;
usRows.push({
over: usGrossOver,
html: ruleRow("Gross mass", grossT, usGrossOver, "Limit " + num(usGrossT, 2) + " t (40 short tons). " + timesText(gross, 40))
});
euRows.push({
over: euGrossOver,
html: ruleRow("Gross mass", grossT, euGrossOver, "Limit 40 t. " + timesText(grossT, 40))
});
document.getElementById("limits").innerHTML = region("United States", "🇺🇸", usRows) + region("Europe", "🇪🇺", euRows);

var mil = militaryEffect(item, state.kind, state.spanFt, state.convoy);
var hl = codeEffects(state.spanFt);
var euro = lm1(state.spanFt);
function momentText(kipFt) {
return num(kipFt, 0) + " kip-ft · " + num(kipFt * KNM_PER_KIPFT, 0) + " kN·m";
}
function shearText(shearTons) {
return num(shearTons, 1) + " short tons · " + num(shearTons * KN_PER_TON, 0) + " kN";
}
document.getElementById("spanTitle").textContent = "Bend on a " + num(spanShown, spanUnit === "m" ? 2 : 1) + (spanUnit === "m" ? " m" : " ft") + " Beam";
document.getElementById("effects").innerHTML =
'<div class="stat"><span>Bend, this class</span><b>' + momentText(mil.kipFt) + '</b></div>' +
'<div class="stat"><span>Shear, this class</span><b>' + shearText(mil.shearTons) + '</b></div>' +
'<div class="stat"><span>US design load, HL-93</span><b>' + momentText(hl.hlMoment) + '</b></div>' +
'<div class="stat"><span>European design load, LM1</span><b>' + momentText(euro.momentKipFt) + '</b></div>';
var ratioHl = mil.kipFt / hl.hlMoment;
var ratioLm = mil.kipFt / euro.momentKipFt;
document.getElementById("effectNote").innerHTML =
"<p><b>" + num(ratioHl, 2) + "×</b> the US design load</p>" +
"<p><b>" + num(ratioLm, 2) + "×</b> the European design load</p>";

var body = "";
var sourceRows = "";
for (i = 0; i < DATA.length; i++) {
var d = DATA[i];
var axleText = d.axles.map(function (value) { return num(value, 2); }).join(", ");
var gapText = d.gaps.map(function (value) { return num(value, 1); }).join(", ");
var spanAxles = d.analysisAxles ? d.analysisAxles.map(function (value) { return num(value, 2); }).join(", ") : "Same as the arrows";
body += '<tr data-mlc="' + d.mlc + '"' + (d.mlc === item.mlc ? ' class="active"' : '') + '>' +
'<td>MLC ' + d.mlc + '</td>' +
'<td>' + tableMass(d.mlc) + '</td>' +
'<td>' + tableMass(d.titleTons) + '</td>' +
'<td>' + tableMass(d.maxAxle) + '</td></tr>';
sourceRows += '<tr' + (d.mlc === item.mlc ? ' class="active"' : '') + '>' +
'<td>MLC ' + d.mlc + '</td>' +
'<td>' + num(d.trackFt, 1) + '</td>' +
'<td>' + d.shoeIn + '</td>' +
'<td>' + d.widthIn + '</td>' +
'<td>' + num(d.titleTons, 2) + '</td>' +
'<td>' + axleText + '</td>' +
'<td>' + gapText + '</td>' +
'<td>' + num(d.maxAxle, 2) + '</td>' +
'<td>' + spanAxles + '</td></tr>';
}
document.getElementById("classTable").innerHTML = body;
document.getElementById("inputTable").innerHTML = sourceRows;
}

var discBox = document.getElementById("discs");
for (var i = 0; i < DATA.length; i++) {
var b = document.createElement("button");
b.type = "button";
b.className = "disc";
b.dataset.mlc = String(DATA[i].mlc);
b.textContent = String(DATA[i].mlc);
b.setAttribute("aria-pressed", DATA[i].mlc === 50 ? "true" : "false");
b.addEventListener("click", function () {
state.mlc = Number(this.dataset.mlc);
render();
});
discBox.appendChild(b);
}
document.getElementById("btnWheeled").addEventListener("click", function () { state.kind = "wheeled"; render(); });
document.getElementById("btnTracked").addEventListener("click", function () { state.kind = "tracked"; render(); });
document.getElementById("btnOne").addEventListener("click", function () { state.convoy = false; render(); });
document.getElementById("btnConvoy").addEventListener("click", function () { state.convoy = true; render(); });
function readSpan() {
var n = Number(document.getElementById("spanInput").value);
if (!isFinite(n) || n <= 0) return;
var unit = document.getElementById("spanUnit").value;
var ft = unit === "m" ? n * FT_PER_M : n;
if (ft < 4) ft = 4;
if (ft > 300) ft = 300;
state.spanFt = ft;
render();
}
document.getElementById("spanInput").addEventListener("change", readSpan);
document.getElementById("spanUnit").addEventListener("change", function () {
render();
});
document.getElementById("spanRange").addEventListener("input", function () {
state.spanFt = Number(this.value);
render();
});
document.getElementById("classTable").addEventListener("click", function (event) {
var tr = event.target.closest("tr");
if (!tr || !tr.dataset.mlc) return;
state.mlc = Number(tr.dataset.mlc);
render();
});
render();
})();
</script>
<script>
window.addEventListener("load", function () {
function sendHeight() {
var h = document.documentElement.scrollHeight || document.body.scrollHeight;
if (window.parent) window.parent.postMessage({ height: h }, "*");
}
sendHeight();
if (window.MutationObserver) {
var observer = new MutationObserver(sendHeight);
observer.observe(document.body, { attributes: true, childList: true, subtree: true });
}
});
</script>
</body>
</html>