<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: soap</title>
    <description>The latest articles on Forem by soap (@soap).</description>
    <link>https://forem.com/soap</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3834420%2F19305c21-9f66-471f-82b0-fa5946cdfb26.png</url>
      <title>Forem: soap</title>
      <link>https://forem.com/soap</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/soap"/>
    <language>en</language>
    <item>
      <title>How loading metres (LDM) actually work in European groupage freight — with pricing examples</title>
      <dc:creator>soap</dc:creator>
      <pubDate>Tue, 14 Apr 2026 03:40:35 +0000</pubDate>
      <link>https://forem.com/soap/how-loading-metres-ldm-actually-work-in-european-groupage-freight-with-pricing-examples-4gid</link>
      <guid>https://forem.com/soap/how-loading-metres-ldm-actually-work-in-european-groupage-freight-with-pricing-examples-4gid</guid>
      <description>&lt;p&gt;If you've ever shipped pallets across Europe, you've been quoted in loading metres. But most explanations online skip the part that actually matters — how LDM affects your freight cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  The formula
&lt;/h2&gt;

&lt;p&gt;LDM = (Length × Width × Quantity) ÷ 2.4&lt;/p&gt;

&lt;p&gt;Where 2.4m is the standard European trailer width (EN 283). One loading metre = a 1m strip of trailer floor, full width.&lt;/p&gt;

&lt;p&gt;A single Euro pallet (1200 × 800mm): 0.4 LDM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters for pricing
&lt;/h2&gt;

&lt;p&gt;European groupage carriers quote per-LDM. A typical UK→Germany lane might be £35-45 per LDM. So 8 Euro pallets = 3.2 LDM = roughly £112-144 before surcharges.&lt;/p&gt;

&lt;p&gt;But here's what most calculators don't tell you: &lt;strong&gt;stackability halves your cost.&lt;/strong&gt; If those 8 pallets are stackable (factor 2), your LDM drops to 1.6 = £56-72. However, your weight-per-LDM jumps to 2,000 kg/LDM, which may trigger a weight surcharge.&lt;/p&gt;

&lt;p&gt;Both space AND weight must be considered together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The free tool
&lt;/h2&gt;

&lt;p&gt;I built a free LDM calculator at &lt;a href="https://www.freightutils.com/ldm" rel="noopener noreferrer"&gt;freightutils.com/ldm&lt;/a&gt; that handles all of this — Euro/UK/US pallets, stackability, weight checks, and 6 vehicle types including US 53ft trailers.&lt;/p&gt;

&lt;p&gt;It's also available as a free REST API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://www.freightutils.com/api/ldm?pallet=euro&amp;amp;qty=8&amp;amp;stackable=true&amp;amp;weight=400"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No auth, no signup. JSON response with LDM, utilisation %, pallet spaces, and weight warnings.&lt;/p&gt;

&lt;p&gt;Full API docs: &lt;a href="https://www.freightutils.com/api-docs" rel="noopener noreferrer"&gt;freightutils.com/api-docs&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built by a freight transport planner working night shifts at Heathrow. If you're building freight software and need reliable calculations, the entire API is free and open.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>freight</category>
      <category>logistics</category>
      <category>api</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Built a free REST API for ADR dangerous goods data — 2,939 entries, no auth, JSON responses</title>
      <dc:creator>soap</dc:creator>
      <pubDate>Fri, 20 Mar 2026 00:04:26 +0000</pubDate>
      <link>https://forem.com/soap/built-a-free-rest-api-for-adr-dangerous-goods-data-2939-entries-no-auth-json-responses-5g07</link>
      <guid>https://forem.com/soap/built-a-free-rest-api-for-adr-dangerous-goods-data-2939-entries-no-auth-json-responses-5g07</guid>
      <description>&lt;p&gt;I built FreightUtils — a set of free freight calculation &lt;br&gt;
tools where every tool has a public REST API. No API key &lt;br&gt;
needed, CORS enabled, JSON responses.&lt;/p&gt;

&lt;p&gt;The main dataset is ADR 2025 (European dangerous goods &lt;br&gt;
regulations) with 2,939 entries including all variant rows, &lt;br&gt;
rebuilt from official UNECE source data.&lt;/p&gt;

&lt;p&gt;Endpoints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GET /api/adr?un=1203 — dangerous goods lookup by UN number&lt;/li&gt;
&lt;li&gt;GET /api/adr?q=petrol — search by name&lt;/li&gt;
&lt;li&gt;GET /api/ldm — loading metres calculator&lt;/li&gt;
&lt;li&gt;GET /api/cbm — cubic metres calculator&lt;/li&gt;
&lt;li&gt;GET /api/chargeable-weight — air freight weight comparison&lt;/li&gt;
&lt;li&gt;GET /api/pallet — pallet fitting calculator&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Full docs: &lt;a href="https://www.freightutils.com/api-docs" rel="noopener noreferrer"&gt;https://www.freightutils.com/api-docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built with Next.js on Vercel. Interested in feedback on the &lt;br&gt;
API design — especially from anyone who works with logistics &lt;br&gt;
or freight software.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.freightutils.com" rel="noopener noreferrer"&gt;https://www.freightutils.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>nextjs</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
