{"id":1904,"date":"2026-09-29T22:36:40","date_gmt":"2026-09-29T22:36:40","guid":{"rendered":"https:\/\/neverlosebitcoin.com\/?page_id=1904"},"modified":"2026-09-29T22:50:08","modified_gmt":"2026-09-29T22:50:08","slug":"lightning-fee","status":"publish","type":"page","link":"https:\/\/neverlosebitcoin.com\/fr\/calculators\/lightning-fee\/","title":{"rendered":"Calculateur de frais du Lightning Network"},"content":{"rendered":"<p>Every Lightning hop takes a small cut: a flat base fee plus a rate per million sats routed. Enter your payment and the route assumptions to see what the trip costs.<\/p>\n<div class=\"nlb-calc\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700;800&#038;display=swap\" rel=\"stylesheet\">\n<style>\n.nlb-calc { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #F7FAFC; border: 1px solid #E5E7EB; border-radius: 20px; padding: 32px; max-width: 720px; margin: 0 auto; color: #0F172A; }\n.nlb-calc h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }\n.nlb-calc .nlb-sub { color: #64748B; font-size: 15px; margin: 0 0 24px; line-height: 1.6; }\n.nlb-calc .nlb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }\n.nlb-calc label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 6px; }\n.nlb-calc input { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 16px; font-weight: 600; padding: 12px 14px; border: 1px solid #E5E7EB; border-radius: 12px; background: #FFFFFF; color: #0F172A; outline: none; transition: border-color .15s, box-shadow .15s; }\n.nlb-calc input:focus { border-color: #F7931A; box-shadow: 0 0 0 3px rgba(247,147,26,.15); }\n.nlb-calc .nlb-price-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #94A3B8; margin: -12px 0 20px; }\n.nlb-calc .nlb-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; }\n.nlb-calc button.nlb-btn { font-family: inherit; font-size: 16px; font-weight: 700; color: #fff; background: #F7931A; border: none; border-radius: 12px; padding: 14px 28px; cursor: pointer; transition: transform .1s, background .15s; }\n.nlb-calc button.nlb-btn:hover { background: #E8850C; }\n.nlb-calc button.nlb-btn:active { transform: scale(.98); }\n.nlb-calc .nlb-results { display: none; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 24px; }\n.nlb-calc .nlb-results.show { display: grid; }\n.nlb-calc .nlb-stat { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 14px; padding: 18px 16px; }\n.nlb-calc .nlb-stat .nlb-k { font-size: 12px; font-weight: 600; color: #94A3B8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }\n.nlb-calc .nlb-stat .nlb-v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }\n.nlb-calc .nlb-stat .nlb-v.orange { color: #F7931A; }\n.nlb-calc .nlb-fine { font-size: 12px; color: #94A3B8; margin: 20px 0 0; line-height: 1.6; }\n@media (max-width: 560px) { .nlb-calc .nlb-grid { grid-template-columns: 1fr; } .nlb-calc .nlb-results { grid-template-columns: 1fr; } }\nbody.color-switch-dark .nlb-calc { background: #151B24; border-color: #2D333B; color: #F1F5F9; }\nbody.color-switch-dark .nlb-calc .nlb-sub { color: #94A3B8; }\nbody.color-switch-dark .nlb-calc label { color: #CBD5E1; }\nbody.color-switch-dark .nlb-calc input { background: #0B0E13; border-color: #2D333B; color: #F1F5F9; }\nbody.color-switch-dark .nlb-calc .nlb-stat { background: #0B0E13; border-color: #2D333B; }\n<\/style>\n<h3>Calculateur de frais du Lightning Network<\/h3>\n<p class=\"nlb-sub\">Route a payment across the network and price every hop along the way.<\/p>\n<div class=\"nlb-grid\">\n  <div><label for=\"ln-amt\">Payment amount (sats)<\/label><input id=\"ln-amt\" type=\"number\" value=\"100000\" min=\"1\"><\/div>\n  <div><label for=\"ln-hops\">Number of hops<\/label><input id=\"ln-hops\" type=\"number\" value=\"3\" min=\"1\"><\/div>\n  <div><label for=\"ln-base\">Base fee per hop (msat)<\/label><input id=\"ln-base\" type=\"number\" value=\"1000\" min=\"0\"><\/div>\n  <div><label for=\"ln-ppm\">Fee rate (ppm)<\/label><input id=\"ln-ppm\" type=\"number\" value=\"500\" min=\"0\"><\/div>\n<\/div>\n<button class=\"nlb-btn\" id=\"ln-btn\">Calculer<\/button>\n<div class=\"nlb-results\" id=\"ln-results\">\n  <div class=\"nlb-stat\"><div class=\"nlb-k\">Total routing fee<\/div><div class=\"nlb-v orange\" id=\"ln-fee\">\u2013<\/div><\/div>\n  <div class=\"nlb-stat\"><div class=\"nlb-k\">Fee as % of payment<\/div><div class=\"nlb-v\" id=\"ln-pct\">\u2013<\/div><\/div>\n<\/div>\n<p class=\"nlb-fine\">Estimate only, not financial advice. Real routing depends on channel liquidity and the path your node actually finds; payments can fail and retry on a different route.<\/p>\n<script>\n(function(){\n  document.getElementById('ln-btn').addEventListener('click', function(){\n    var amt = parseFloat(document.getElementById('ln-amt').value) || 0;\n    var hops = parseFloat(document.getElementById('ln-hops').value) || 0;\n    var base = parseFloat(document.getElementById('ln-base').value) || 0;\n    var ppm = parseFloat(document.getElementById('ln-ppm').value) || 0;\n    var amtMsat = amt * 1000;\n    var feeMsat = hops * base + amtMsat * ppm \/ 1000000;\n    var feeSats = Math.ceil(feeMsat \/ 1000);\n    var pct = amt > 0 ? (feeSats \/ amt) * 100 : 0;\n    document.getElementById('ln-fee').textContent = feeSats.toLocaleString('en-US') + ' sats';\n    document.getElementById('ln-pct').textContent = pct.toFixed(pct < 0.01 ? (pct > 0 ? 4 : 2) : 2) + '%';\n    document.getElementById('ln-results').classList.add('show');\n  });\n})();\n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Every Lightning hop takes a small cut: a flat base fee plus a rate per million sats routed. Enter your payment and the route assumptions to see what the trip costs. Lightning Network Fee Calculator Route a payment across the network and price every hop along the way. Payment amount (sats) Number of hops Base&#8230;<\/p>","protected":false},"author":5,"featured_media":1897,"parent":1237,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-1904","page","type-page","status-publish","has-post-thumbnail","hentry"],"taxonomy_info":[],"featured_image_src_large":["https:\/\/neverlosebitcoin.com\/wp-content\/uploads\/2026\/09\/nlb-thumb-lightning-network-fee-calculator-1024x683.webp",1024,683,true],"author_info":{"display_name":"WUMBOLOVER","author_link":"https:\/\/neverlosebitcoin.com\/fr\/author\/wumbolover\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/pages\/1904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/comments?post=1904"}],"version-history":[{"count":2,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/pages\/1904\/revisions"}],"predecessor-version":[{"id":1907,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/pages\/1904\/revisions\/1907"}],"up":[{"embeddable":true,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/pages\/1237"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/media\/1897"}],"wp:attachment":[{"href":"https:\/\/neverlosebitcoin.com\/fr\/wp-json\/wp\/v2\/media?parent=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}