---
title: Scaling-Laws Explorer — parameters, data and compute
description: Reallocate a training budget between parameters and tokens with a Chinchilla-style loss surface, compare the mathematical optimum and test sensitivity to the fitted exponents.
hide:
  - toc
  - navigation
  - footer
---

<link rel="stylesheet" href="/stylesheets/tools.css" />
<link rel="stylesheet" href="/stylesheets/tools-scaling-laws.css" />
<script src="/assets/javascripts/tools/scaling-laws-core.js" defer></script>
<script src="/assets/javascripts/tools/scaling-laws.js" defer></script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebApplication","name":"Scaling-Laws Explorer — 5sigmas","url":"https://5sigmas.com/en/tools/scaling-laws/","applicationCategory":"EducationalApplication","operatingSystem":"Any","isAccessibleForFree":true,"description":"Interactive explorer of compute allocation between model parameters and training tokens using a Chinchilla-style loss surface with editable assumptions."}</script>

<div class="s5-landing s5-tool-page s5-scaling-laws" data-s5-scaling-laws data-locale="en">
<section class="s5-page-intro"><div class="s5-eyebrow">Tools · Scaling · 15</div><h1>Reallocate the same training compute between parameters and data.</h1><p>Start from a model and training-token count, keep or scale the total budget, and inspect which allocation minimizes the loss predicted by the Hoffmann et al. fitted surface. Change the exponents to see how sensitive that conclusion is to the fit.</p></section>
<div class="s5-tool-summary-strip"><div><small>Constraint</small><strong>C ≈ 6ND</strong></div><div><small>Objective</small><strong>minimize loss</strong></div><div><small>Reference</small><strong>Chinchilla 2022</strong></div><div><small>Limit</small><strong>pretraining ≠ full system</strong></div></div>

<div class="s5-tool-workbench">
<form class="s5-tool-controls" aria-label="Scaling assumptions" onsubmit="return false">
<section class="s5-tool-controls__section"><h2>Current scenario</h2><div class="s5-tool-field"><label for="s5-scaling-n-en">Parameters <span>billions</span></label><input id="s5-scaling-n-en" data-field="parametersB" type="number" min="0.001" step="1" value="70" inputmode="decimal" /><small>Dense model parameter count.</small></div><div class="s5-tool-field"><label for="s5-scaling-d-en">Training tokens <span>billions</span></label><input id="s5-scaling-d-en" data-field="tokensB" type="number" min="0.001" step="10" value="1400" inputmode="decimal" /><small>Tokens seen during pretraining.</small></div><div class="s5-tool-field"><label for="s5-scaling-c-en">Target budget <span>× current budget</span></label><input id="s5-scaling-c-en" data-field="budgetMultiplier" type="number" min="0.01" max="1000" step="0.1" value="1" inputmode="decimal" /><small>1× preserves total FLOPs; 10× multiplies the N·D product by ten.</small></div></section>
<details><summary>Fit sensitivity</summary><section class="s5-tool-controls__section"><div class="s5-tool-field"><label for="s5-scaling-alpha-en">Parameter exponent α</label><input id="s5-scaling-alpha-en" data-field="alpha" type="number" min="0.01" max="2" step="0.01" value="0.34" inputmode="decimal" /></div><div class="s5-tool-field"><label for="s5-scaling-beta-en">Data exponent β</label><input id="s5-scaling-beta-en" data-field="beta" type="number" min="0.01" max="2" step="0.01" value="0.28" inputmode="decimal" /></div><small>E, A and B remain fixed at the Hoffmann et al. published fit. Changing α or β is a pedagogical counterfactual, not a new empirical fit.</small></section></details>
<section class="s5-tool-controls__section"><div class="s5-tool-actions"><button class="s5-tool-action" type="button" data-action="share">Copy scenario</button><button class="s5-tool-action" type="button" data-action="json">Export JSON</button><button class="s5-tool-action" type="button" data-action="reset">Reset</button></div><p class="s5-tool-feedback" data-s5-tool-feedback hidden aria-live="polite"></p></section>
</form>

<section class="s5-tool-results">
<div class="s5-section-head s5-section-head--with-copy"><div><div class="s5-eyebrow">Fixed budget</div><h2>What changes when N and D compete for the same compute</h2></div><p data-output="interpretation">—</p></div>
<div class="s5-scaling-kpis"><div><small>Current compute</small><strong data-output="current-compute">—</strong><span>dense 6ND approximation</span></div><div><small>Target compute</small><strong data-output="target-compute">—</strong><span>after the multiplier</span></div><div><small>Optimal parameters</small><strong data-output="optimal-params">—</strong><span>for this fitted surface</span></div><div><small>Optimal tokens</small><strong data-output="optimal-tokens">—</strong><span>for this fitted surface</span></div></div>
<section class="s5-scaling-card"><div class="s5-scaling-chart" data-output="chart" role="region" aria-label="Loss curve under a fixed compute budget" tabindex="0"></div></section>
<div class="s5-scaling-interpretation"><section><h3>Allocation</h3><p>Loss with the same N:D ratio: <strong data-output="same-ratio-loss">—</strong></p><p>Loss at the optimum: <strong data-output="optimal-loss">—</strong></p><p>Difference attributable to allocation inside this model: <strong data-output="loss-gap">—</strong></p><p>Tokens per parameter: <strong data-output="current-ratio">—</strong> now · <strong data-output="optimal-ratio">—</strong> at the optimum.</p></section><section><h3>How the optimum scales</h3><p>N<sub>opt</sub> ∝ C<sup><span data-output="parameter-exponent">—</span></sup></p><p>D<sub>opt</sub> ∝ C<sup><span data-output="token-exponent">—</span></sup></p><p class="s5-scaling-formula" data-output="fit">—</p></section></div>
</section></div>

<section class="s5-section"><div class="s5-section-head"><div><div class="s5-eyebrow">Method</div><h2>The optimum is mathematical inside one empirical loss surface.</h2></div></div><div class="s5-scaling-method"><div><strong>Two bottlenecks in the loss</strong><p>The tool uses L(N,D)=E+A/N<sup>α</sup>+B/D<sup>β</sup>. More parameters reduce one term; more data reduce the other.</p></div><div><strong>Compute as a product constraint</strong><p>The approximation C≈6ND turns a fixed budget into a trade-off: if N grows, D must fall to keep the same training cost.</p></div><div><strong>Visible derivation</strong><p>Under that constraint, N<sub>opt</sub> scales as C<sup>β/(α+β)</sup> and D<sub>opt</sub> as C<sup>α/(α+β)</sup>. Editable exponents expose how sensitive that conclusion is.</p></div></div></section>
<section class="s5-section"><div class="s5-note-feature"><div><div class="s5-eyebrow">What it does not mean</div><h2>This curve does not predict the performance of a complete modern model.</h2><p>The original fit describes pretraining loss for dense Transformers in a specific experimental regime. It does not include post-training, MoE routing, data quality, architectural changes, inference, RL, tools or serving cost. The coefficients shown here are the rounded values printed in the paper, so an analytical optimum computed from them does not have to reproduce every table or fitted frontier exactly. Use it to understand the parameter–data trade-off and conditional compute optimum, not to quote a real training run.</p></div><div class="s5-note-feature__meta"><a href="https://arxiv.org/abs/2203.15556">Hoffmann et al. · 2022</a><br /><a href="https://arxiv.org/abs/2001.08361">Kaplan et al. · 2020</a><br />Constants: E=1.69 · A=406.4 · B=410.7 · α=0.34 · β=0.28<br />Sources reviewed: 2026-08-22</div></div></section>
</div>
