A grid in the agreement sets the margin from the leverage of the last compliance certificate. Every threshold creates an incentive at the test date.
A margin ratchet is a pricing grid: the margin of the loan depends on the leverage ratio shown in the last compliance certificate. When leverage falls below a threshold, the margin steps down; when it rises above, the margin steps up. In our case, a leverage of 5.003x against a threshold of 5.00x costs the borrower 25 basis points.
The case comes from the Credit Documentation & Covenants course by Julian R. Sterling, author of How to Read a Credit Agreement.Get the DRM-free PDF, $19.99 →
| Total net leverage | Margin |
|---|---|
| Above 5.00x | 5.50% |
| Above 4.50x, up to 5.00x | 5.25% |
| At or below 4.50x | 5.00% |
Marston Applied Controls, fictional, has a unitranche term loan of $178.5m at closing. Its leverage rises through 2027.
| Line | Q1 2027 | Q2 2027 | Q3 2027 | Q4 2027 |
|---|---|---|---|---|
| Total net leverage | 4.610x | 5.003x | 5.574x | 6.390x |
| Margin for the next quarter | 5.25% | 5.50% | 5.50% | 5.50% |
| Term loan, US$ m | 178.05 | 177.61 | 177.16 | 176.72 |
| Margin of one quarter, US$ m | 2.34 | 2.44 | 2.44 | 2.43 |
After the first quarter, leverage is 4.61x and the margin is 5.25%. After the second, leverage is 5.003x: three thousandths of a turn above the threshold, and the margin is 5.50%. On the term loan, the step costs about $0.44m a year.
A borrower at 5.003x is one small adjustment away from the lower margin: a little more cash netted against debt, or one more add-back in covenant EBITDA. This is why the ratchet should use the same definitions, caps included, as the financial covenant, and why lenders rebuild the certificate instead of reading its last line.
Every figure is computed by script from the course's running case, Marston Applied Controls, a fictional borrower, and checked on 19 November 2026. Levels, caps, baskets and grids are assumptions of the case, not market data, and real agreements differ in every definition. For education, not legal or investment advice.
26 short video lessons on what a credit agreement really allows: covenant EBITDA and add-backs, leverage and cover tests, headroom, equity cures, baskets, cash sweep, margin ratchet and the compliance certificate. You test a unitranche loan over four quarters in Excel, with step files, exercises and a certificate exam ($149).
A grid in a loan agreement that sets the margin according to the leverage ratio of the last compliance certificate.
It should not. A cure is deemed EBITDA for the breached covenant only; the ratchet is computed on the uncured ratio. If the agreement is silent, the point is open to argument.
Usually the highest level of the grid, and the same if the compliance certificate is delivered late.
This article is one calculation from How to Read a Credit Agreement. The book takes the same case from first principles to the decision, chapter by chapter, and every figure it prints is a live formula in the free companion workbooks.
See the course →Free companion files
Also on Amazon UK · Amazon Germany · Amazon France · Amazon Canada
Prefer a PDF? The same book is sold as a DRM-free PDF edition, searchable and printable. Get the PDF edition, $19.99