← Leverage

Book Leverage Curated

Total debt (long-term plus current) divided by book assets. The most common leverage measure.

Textbook formula: Total Debt / Total Assets
Curated note

Debt over book assets. Three quarters of packages use total debt (long-term debt plus debt in current liabilities) over total assets; total liabilities over total assets counts every liability (payables, pensions, deferred taxes) and is closer to 'not equity'. Long-term debt alone over assets is counted once, under the Long-term Debt Ratio, even where the code names it leverage (one statement, one measure). Debt over book capital (long-term debt over long-term debt plus book equity) is the capital-structure variant. Missing debt items are very often set to zero before the ratio is taken (see Missing observations), which decides whether a firm with no reported short-term debt counts as unlevered or drops out. Debt over equity alone is a different measure (Debt-to-Equity), and a line that only fills gaps in leverage with short-term debt is not counted here.

  • (debt in current liabilities + long-term debt) / total assets — the default: interest-bearing debt over total assets
  • Total liabilities / total assets — total-liabilities leverage, common in accounting and distress studies
  • Long-term debt / (common equity + long-term debt) — book capitalization: debt over debt plus book equity
172
replication packages compute it
11
distinct measurements, written 78 ways
47%
of packages read winsorize or trim it

How the code actually computes it

Each row is one measurement. The many ways code writes a lagged value are one measurement, quarterly items are the annual measurement at quarterly frequency, and percent / log / rescaling are tags, not new measurements. Open a row for the spellings, each shown as written in its example.

(debt in current liabilities + long-term debt) / total assets 135 packages
annual 111 · quarterly 32 · 45 spellingsused lagged · 6missing → 0 · 4×100 (percent) · 3
Spelling in the code, as writtenFrequencyPackages
(DLTT+DLC)/AT annual53
(dlc+dltt)/at annual34
(dlcq+dlttq)/atq quarterly14
(dlttq+dlcq)/atq quarterly8
dt/at annual3
(dlc+dltt)/assets annual2
(dt)/at annual2
(l.dltt+l.dlc)/l.atused lagged annual2
debttot/at annual2
sum(DLTTQ,DLCQ)/ATQmissing → 0 quarterly2
totaldebt/at annual2
((dltt+dlc)/(at)) annual1
((dlttqc+dlcqc)/atqc) quarterly1
((dt)/at) annual1
((L.dlcq + L.dlttq)/L.atq)used lagged quarterly1
(debt)/(at) annual1
(dlc + dltt) / tot_assets annual1
(dlcq + dlttq)*100 /atq×100 (percent) quarterly1
(dltt+dlc)/(at) annual1
(DLTT + DLC)/TA annual1
(dltt1+dlc1)/at1 annual1
(dltt_lag + dlc_lag)/at_lagused lagged annual1
(dlttq +dlcq)/(atq) quarterly1
(L.dlcq+L.dlttq)/L.atqused lagged quarterly1
(ldltt+ldlc)/latused lagged annual1
(na0(dltt) + na0(dlc)) / atmissing → 0 annual1
100*(data$dlcq + data$dlttq)/data$atq×100 (percent) quarterly1
100 * dt/at×100 (percent) annual1
D/at annual1
debt annual1
debt/asset annual1
debt/at annual1
debt_totq / atq quarterly1
DEBTQ/ATQ quarterly1
data.dttq/data.atq quarterly1
min(1,max(0,(DLC+DLTT)/assets)) annual1
sum(DLC, DLTT)/ATmissing → 0 annual1
td/at annual1
total_debt/atq quarterly1
total_debt/ta annual1
total_debt/total_assets annual1
TotalDebt/assets annual1
TotalDebt/ATQ quarterly1
TotalDebt / TotalAssets annual1
ttldebt / assets annual1
BLEV=(DLTT+DLC)/AT;
Total liabilities / total assets 36 packages
annual 29 · quarterly 7 · 8 spellingsused lagged · 1×100 (percent) · 1
Spelling in the code, as writtenFrequencyPackages
lt/at annual28
ltq/atq quarterly6
(lt)/at annual1
100* data$ltq / data$atq×100 (percent) quarterly1
DA annual1
L.lt/L.atused lagged annual1
lt / assets annual1
tot_liabilities / tot_assets mixed1
Example: stata · Code.do:16 · pkg 7283
gen lev = lt/at
(debt in current liabilities + long-term debt) / lagged total assets 11 packages
annual 10 · quarterly 1 · 7 spellings
Spelling in the code, as writtenFrequencyPackages
(dltt + dlc)/at_lag annual2
(DLTT+DLC)/ L_AT annual2
(dltt + dlc)/lag(at) annual2
(dltt + dlc)/lag_at annual2
(dlcq+dlttq)/l.atq quarterly1
(dltt+dlc)/lagat annual1
debt/lagat annual1
leverage = (dltt + dlc)/at_lag;
(debt in current liabilities + long-term debt) / (common equity + debt in current liabilities + long-term debt) 5 packages
annual 3 · quarterly 2 · 5 spellingsmissing → 0 · 1
Spelling in the code, as writtenFrequencyPackages
(dlcq+dlttq)/(dlcq+dlttq+ceqq) quarterly1
(dltt+dlc)/(dltt+dlc+ceq) annual1
(DLTTQ+DLCQ)/(DLTTQ+DLCQ+CEQQ) quarterly1
nanmatsum(DLTT,DLC)./ nanmatsum(nanmatsum(DLTT,DLC),CEQ)missing → 0 annual1
td/(td+ceq) annual1
Example: sas · 5_anomaly.sas:1021 · pkg 14214
LEV     = (DLTTQ+DLCQ)/(DLTTQ+DLCQ+CEQQ);
(debt in current liabilities + long-term debt) / (debt in current liabilities + long-term debt + stockholders' equity) 5 packages
annual 3 · quarterly 2 · 4 spellings
Spelling in the code, as writtenFrequencyPackages
(dlcq + dlttq)/(seqq+dlcq+dlttq) quarterly2
((dltt+dlc)/(dltt+dlc+seq)) annual1
(dlc+dltt)/(dlc+dltt+seq) annual1
(CCM_annual_v_RTI['dltt']+CCM_annual_v_RTI['dlc'])/(CCM_annual_v_RTI['dltt']+CCM_annual_v_RTI['dlc']+CCM_annual_v_RTI['seq']) annual1
capture gen book_lev_WW = ((dltt+dlc)/(dltt+dlc+seq))
(long-term debt due in one year + long-term debt) / total assets 3 packages
annual 2 · quarterly 2 · 4 spellingsmissing → 0 · 1
Spelling in the code, as writtenFrequencyPackages
(dd1 + dltt)/at annual1
(dd1q + dlttq)/atq quarterly1
(dltt+dd1)/at annual1
sum(dd1q,dlttq)/(atq)missing → 0 quarterly1
lev = (dd1 + dltt)/at,
(debt in current liabilities + long-term debt) / average total assets 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
(dlc+dltt)/((at+l.at)/2) annual1
Example: stata · 0_Sample_Creation.do:99 · pkg 14110
gen rdd_lev_ratio=(dlc+dltt)/((at+l.at)/2)
Long-term debt / (common equity + long-term debt) 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
dltt/(dltt+ceq) annual1
Example: sas · D_FRQ_accrual.sas:270 · pkg 12710
lev= dltt/(dltt+ceq);
Long-term debt / (long-term debt + stockholders' equity) 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
DLTT/(DLTT+seq) annual1
if seq > 0 and dltt> 0 then Lev1 = DLTT/(DLTT+seq);else Lev1 = 0;
Total liabilities / lagged total assets 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
lt/lag(at) annual1
leverage = lt/lag(at),
Temp_sum / lagged total assets 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
temp_sum/l_at annual1
gen lev=temp_sum/l_at

Missing observations

Among the 172 of 172 packages we have read: what the code does when this measure, or an input it is built from, is missing. A package can do more than one.

47 · 27%
Drop the observation
rows with the measure or an input missing are deleted
at (58), atq (16), lever (9), blev (4), leverage (2)
drop if at==.|sale==.
13 · 8%
Set missing to 0
an imputation: missing read as zero (typical for R&D)
dlc (23), dltt (22), dlcq (3), dlttq (2), leverage (2)
replace dlc = 0 if dlc == .
10 · 6%
Fill from elsewhere
an alternative definition, another source, a carried or interpolated value
at (4), total_assets (4), lt (2), dt (2), lev (1)
replace `x' = `x'[_n-1] if missing(`x') & group == group[_n-1]
110 · 64%
Nothing explicit
missing values fall out in estimation (listwise)

6 package(s) also read missing as zero inside the formula itself (na0(), sum(x, 0), nansum) — tagged missing → 0 on the spellings above.

Outliers: winsorizing and trimming

80 of the 172 packages we have read (47%) winsorize or trim this variable — 4 of them trim (delete) rather than winsorize; 18 do it within groups (by year, typically). The rest leave it as computed.

Cuts are percentiles (1/99 = the 1st and 99th). "default cuts" = the command's default, e.g. winsor2 uses 1/99. A package that cuts the variable two ways counts once under each.

Used as outcome vs control

Of the packages that compute this measure and put its variable in a model, how many estimate it as the outcome (dependent variable) and how many use it as a regressor (a control, or the variable of interest) — in all their estimations, and within each design's models. A package can do both; one count per package.

modelspackages outcome ▮ vs regressor ▮as outcomeas regressor
all estimations 56
18% · 10
65 models
4 outcome models in the code
88% · 49
1595 models
4 regressor models in the code
Difference-in-differences 5
20% · 1
4 models
1 outcome model in the code
80% · 4
44 models
4 regressor models in the code
  • ESG Shocks in Global Supply Chains Review of Financial Studies 2026 · pkg 266
    qui eststo: reghdfe Dtrade  treatpost  post  $x  if poissonsample==1,ab(pair indyear case  ) cl(case#shppanjivaid)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    qui eststo: reghdfe Dtrade treatpost post size mtb lev rd invest cash if poissonsample==1,ab(pair indyear case ) cl(case#shppanjivaid)
  • Fraud Power Laws Journal of Accounting Research 2024 · pkg 12683
    reghdfe restate_core c.treated##c.post $controls , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    reghdfe restate_core c.treated##c.post logat leverage mtb loss ret retvol roabeg , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
  • Credit Conditions when Lenders are Commonly Owned Journal of the European Economic Association 2026 · pkg 19316
    reghdfe aisd 1.post##1.treated_brbgi $loan_control_did $firm_control_did $bank_control_did, absorb(factype facpurpose sic3#year lead_gvkey) cluster(lead_gvkey)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    reghdfe aisd 1.post##1.treated_brbgi CO_kappa_facsynd CO_kappa_vertical facility_qt maturity_log secured refinancing tot_members_log guarantor rela_score reciprocity_num_cai10 fac_new_lending libor_3m …
  • The Effect of Intellectual Property Rights Protection on Stock Price Informativeness Journal of Financial and Quantitative Analysis 2026 · pkg 94208
    eststo:reghdfe SYNCH  TREAT_POST TREAT POST $FirmlevelCV $CountryCV if abs(T)<=5 , absorb(cohgvk cohyr FZEROrank) vce(cluster cohctr)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    eststo:reghdfe SYNCH TREAT_POST TREAT POST SIZE BTM LEV ROA SDROA SIGMA MEANRET ANACOV RD RDMISS FRQ CRLIST FUNDACORR GDPGR LNGDPPC MCAPGDP IFRS LNNFIRM FIRMHHI INDHHI if abs(T)<=5 , absorb(cohgvk coh …
Event study 1
100% · 1
4 models
1 outcome model in the code
0% · 0
0 models
Instrumental variables 6
17% · 1
1 models
1 outcome model in the code
83% · 5
21 models
4 regressor models in the code
  • Anatomy of Corporate Borrowing Constraints Quarterly Journal of Economics 2021 · pkg 7457
    eststo: xi: ivreg2   f2.netdebt_at (f2ebitda_at = opt)  l(0/2).netdebt_at  `control' i.ind if fyear==`t' & at_tile>2 & f2.hasebc==1  & f.hasebc==1 & hasebc==1 & lev1>0  & sm==0  `condition', partial(i …
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    eststo: xi: ivreg2 f2.netdebt_at (f2ebitda_at = opt) l(0/2).netdebt_at f2.sale_at l(0/2).ebitda_at ocf_at Q lr12 cash_at lev1 ppent_at invt_at dp_at lnsize i.ind if fyear==`t' & at_tile>2 & f2.hasebc= …
  • Asset Specificity of Nonfinancial Firms Quarterly Journal of Economics 2023 · pkg 7590
    eststo: ivreghdfe f.capx_ppent sd_ret_ann mean_ret_ann (c.sd_ret_ann#c.RecoveryPPEMidG1 RecoveryPPEMidG1  c.mean_ret_ann#c.RecoveryPPEMidG1 RecoveryPPEMidG1 = c.sd_ret_ann#c.RecoveryPPEMidG2  Recovery …
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    eststo: ivreghdfe f.capx_ppent sd_ret_ann mean_ret_ann (c.sd_ret_ann#c.RecoveryPPEMidG1 RecoveryPPEMidG1 c.mean_ret_ann#c.RecoveryPPEMidG1 RecoveryPPEMidG1 = c.sd_ret_ann#c.RecoveryPPEMidG2 RecoveryPP …
  • Investment Functions with q in the Presence of Unobserved Persistent Shocks Journal of Financial and Quantitative Analysis 2026 · pkg 14131
    ivreg2 d.inv d.l.lev d.l2.lev d.l.lnK d.l2.lnK d.l.lnN_K d.l2.lnN_K (l.d.inv d.l.TQ l2.d.TQ=l4.lnK l3.inv l4.TQ l5.lnN_K ), first savefirst nocons savefprefix(st4) gmm2s robust cluster(gvkey)
  • Estimating The Cost Of Capital And The Profit Share The Economic Journal 2024 · pkg 18475
    ivregress 2sls sale_xopr time lever long_term_debt interest_rate depr sale_lag_12  risk risk2 (k_xopr time_mpk depr_divX lever_divX long_term_divX interest_divX sales_divX  risk_divX risk2_divX = k_xo …
Matching 2
0% · 0
0 models
100% · 2
9 models
2 regressor models in the code
Panel fixed effects 28
18% · 5
12 models
4 outcome models in the code
86% · 24
548 models
4 regressor models in the code

A lag of the outcome on its own right-hand side (roa on L.roa) is not counted as a regressor use. A measure found by its estimation, formula or data source (a CAR summed over an event window, a beta kept from a regression, a KZ index) is looked up by the variable that code produces (car126d_ff4, beta); a generic output such as _rmse or resid is not. Designs are the recipe designs; "all estimations" covers every model in the package.

As a regressor (control or variable of interest)
In those models, counted in packages:
Fixed effects: gvkey (16), fyear (12), year (7), sic (4), sic2 (3), fyear#sic2 (2)
Clustering: gvkey (14), fyear (4), permno (4), sic2 (4), year (4), sic (3)
Estimators: panel_fe (38), ols (18), count (5), iv (5), binary (3), matching (2)
As the outcome (dependent variable)
In those models, counted in packages:
Fixed effects: fyear (4), gvkey (2), dateid (1), eventyear#event (1), firm_fe (1), firmfe (1)
Clustering: gvkey (3), fyear (2), dio_num#event (1), firmfe (1), id (1), irs_ind (1)
Estimators: panel_fe (7), ols (3), did (1), iv (1)

Foundational works

What the papers whose code computes this measure cite most (share of those papers citing each).

Papers whose code computes it