greeksoup/ stocks
Stocks / Formulas

Formulas

Each ratio on a company page is arithmetic on the filed lines, named here with its formula. A reader's own ratio is a formula over these identifiers and the statement lines, evaluated in your browser against the company's own figures and kept in that browser only.

How a formula is written

Identifiers from the tables below, numbers, and + - * / ( ). Functions over a statement line: ttm(line) the last four quarters summed, latest(line) the latest quarter, fy(line) the latest fiscal year, yoy(line) the latest quarter over the same quarter a year earlier as a percentage, avg(line, n) the average of the last n quarters, cagr(line, n) growth compounded over the last n fiscal years as a percentage. For example ttm(fcf) / market_cap * 100 is a free cash flow yield in percent, and ev / ttm(revenue) is enterprise value to sales.

Metrics, United States

IdentifierNameUnitArithmetic
revenue_qRevenue, latest quarter$as filed for the latest quarter
revenue_yoy_qRevenue growth on the year, latest quarter%latest quarter over the same quarter a year earlier, less one
net_income_qNet profit, latest quarter$as filed for the latest quarter
net_income_yoy_qNet profit growth on the year, latest quarter%latest quarter over the same quarter a year earlier, less one
eps_qEPS, latest quarter$diluted where filed
revenue_ttmRevenue, trailing twelve months$sum of the last four quarters
net_income_ttmNet profit, trailing twelve months$sum of the last four quarters
eps_ttmEPS, trailing twelve months$sum of the last four quarters' EPS as filed
revenue_growth_ttmRevenue growth, trailing twelve months%last four quarters over the four before, less one
profit_growth_ttmNet profit growth, trailing twelve months%last four quarters over the four before, less one
gross_margin_ttmGross margin, trailing twelve months%gross profit over revenue, both summed over four quarters
operating_margin_ttmOperating margin, trailing twelve months%operating income over revenue, both summed over four quarters
net_margin_ttmNet margin, trailing twelve months%net profit over revenue, both summed over four quarters
ocf_ttmOperating cash flow, trailing twelve months$sum of the last four quarters
capex_ttmCapital expenditure, trailing twelve months$sum of the last four quarters
fcf_ttmFree cash flow, trailing twelve months$operating cash flow less capital expenditure, four quarters
fcf_margin_ttmFree cash flow margin, trailing twelve months%free cash flow over revenue, four quarters
cash_conversion_ttmCash conversion, trailing twelve monthsxoperating cash flow over net profit, four quarters
tax_rate_ttmEffective tax rate, trailing twelve months%income tax over pre-tax income, four quarters
interest_cover_ttmInterest cover, trailing twelve monthsxoperating income over interest expense, four quarters
roe_ttmReturn on equity%net profit of the last four quarters over shareholders' equity at the latest balance sheet
roce_ttmReturn on capital employed%operating income of the last four quarters over equity plus borrowings at the latest quarter end
debt_to_equityDebt to equityxborrowings over shareholders' equity at the latest quarter end, both from the same balance sheet, on the basis the company filed and named beside the figure (US); as the company states it in its result statement (India)
net_debtNet debt$borrowings less cash and equivalents at the latest quarter end
cashCash and equivalents$at the latest quarter end
debtBorrowings$at the latest quarter end, on the basis the company filed; leases are never counted in it
equityShareholders' equity$at the latest quarter end
assetsTotal assets$at the latest quarter end
shares_outShares outstandingcountat the latest period end, as filed
share_count_change_1yChange in shares outstanding, one year%shares outstanding at the latest quarter end over a year earlier, less one; negative means buybacks net of issuance
buybacks_ttmBuybacks, trailing twelve months$cash paid to repurchase shares, four quarters
dividends_paid_ttmDividends paid, trailing twelve months$cash dividends paid, four quarters
dps_ttmDividend per share, trailing twelve months$sum of the last four quarters' declared dividend per share
revenue_fyRevenue, latest fiscal year$as filed for the latest fiscal year
net_income_fyNet profit, latest fiscal year$as filed for the latest fiscal year
revenue_cagr_3yRevenue growth, three years compounded%latest fiscal year over three years earlier, annualised
profit_cagr_3yNet profit growth, three years compounded%latest fiscal year over three years earlier, annualised
revenue_cagr_5yRevenue growth, five years compounded%latest fiscal year over five years earlier, annualised
profit_cagr_5yNet profit growth, five years compounded%latest fiscal year over five years earlier, annualised
revenue_cagr_10yRevenue growth, ten years compounded%latest fiscal year over ten years earlier, annualised
profit_cagr_10yNet profit growth, ten years compounded%latest fiscal year over ten years earlier, annualised
roe_fyReturn on equity, latest fiscal year%net profit of the latest fiscal year over shareholders' equity at its end
roe_avg_3yReturn on equity, three-year average%the average of the last three fiscal years' return on equity
pricePrice$the latest daily close (CBOE delayed for the US, NSE for India), adjusted for splits and bonus issues
market_capMarket capitalisation$price times shares outstanding (the latest filed count, or the diluted weighted count where a company with several share classes tags no single count; India from the shareholding pattern)
pe_ttmPrice to earningsxprice over the last four quarters' EPS as filed (net income over diluted shares for a quarter whose EPS is not filed), put on the current share count where a split or bonus fell inside them
pbPrice to bookxmarket capitalisation over shareholders' equity at the latest balance sheet
evEnterprise value$market capitalisation plus borrowings less cash at the latest balance sheet
ebitda_ttmEBITDA, trailing twelve months$operating income plus depreciation and amortisation (US); operating profit plus other income (India), four quarters
ev_ebitdaEV to EBITDAxenterprise value over EBITDA of the last four quarters
dividend_yieldDividend yield%dividends per share of the last twelve months over the price
mcap_salesMarket capitalisation to salesxmarket capitalisation over revenue of the last four quarters
high_52w52-week high$the highest daily close in the last 52 weeks
low_52w52-week low$the lowest daily close in the last 52 weeks
price_change_1yPrice change, one year%the latest close over the close a year earlier, less one
price_cagr_3yPrice growth, three years compounded%the latest close over the close three years earlier, annualised
price_cagr_5yPrice growth, five years compounded%the latest close over the close five years earlier, annualised
fcf_margin_years_over_20Fiscal years with FCF margin above 20%, of the last fivecountcount of the last five fiscal years whose free cash flow margin exceeded 20%
dividend_years_10Fiscal years with a dividend paid, of the last tencountcount of the last ten fiscal years with cash dividends paid
share_count_down_3yShare count fell in each of the last three fiscal yearscount1 when the diluted share count fell year on year in each of the last three fiscal years, else 0
net_debt_change_1yNet debt change, one year$net debt at the latest quarter end less net debt four quarters earlier
funds_addingFollowed funds addingcountof the 13F filers followed here, how many reported a new or larger position in the latest quarter
funds_trimmingFollowed funds trimmingcountof the 13F filers followed here, how many reported a smaller position or an exit in the latest quarter
funds_holdingFollowed funds holdingcountof the 13F filers followed here, how many reported the name in their latest filing
insider_buys_12mInsider market purchases, twelve monthscountopen-market purchases on Form 4 (US) or SEBI Regulation 7 disclosures marked market purchase (India)
insider_sales_12mInsider market sales, twelve monthscountopen-market sales on Form 4 (US) or disclosures marked market sale (India)
house_trades_6mHouse trades, six monthscountlines in periodic transaction reports filed by members of the House
days_to_coverDays to coverxshares short over average daily volume at the latest FINRA settlement
put_call_oiPut/call by open interestxput open interest over call open interest within 90 days, from CBOE's delayed chain
eightks_12m8-Ks filed, twelve monthscountcurrent reports filed with the SEC
planned_sales_12mForm 144 notices, twelve monthscountnotices of planned insider sales

Statement lines, United States (for ttm, latest, fy, yoy, avg, cagr)

LineUnit
revenueUSD
cost_of_revenueUSD
gross_profitUSD
rndUSD
sgaUSD
operating_incomeUSD
interestUSD
pretaxUSD
taxUSD
net_incomeUSD
epsUSD per share
daUSD
sbcUSD
ocfUSD
capexUSD
fcfUSD
buybacksUSD
dividends_paidUSD
dpsUSD per share
sharesshares, diluted weighted
shares_outshares outstanding
assetsUSD
cashUSD
receivablesUSD
inventoryUSD
goodwillUSD
debtUSD
equityUSD
gross_profit_margin%
operating_income_margin%
net_income_margin%
fcf_margin%
tax_rate%
revenue_yoy%
net_income_yoy%

Metrics, India

IdentifierNameUnitArithmetic
revenue_qRevenue, latest quarter₹ croreas filed for the latest quarter
revenue_yoy_qRevenue growth on the year, latest quarter%latest quarter over the same quarter a year earlier, less one
net_income_qNet profit, latest quarter₹ croreas filed for the latest quarter
net_income_yoy_qNet profit growth on the year, latest quarter%latest quarter over the same quarter a year earlier, less one
eps_qEPS, latest quarterdiluted where filed
revenue_ttmRevenue, trailing twelve months₹ croresum of the last four quarters
net_income_ttmNet profit, trailing twelve months₹ croresum of the last four quarters
eps_ttmEPS, trailing twelve monthssum of the last four quarters' EPS as filed
revenue_growth_ttmRevenue growth, trailing twelve months%last four quarters over the four before, less one
profit_growth_ttmNet profit growth, trailing twelve months%last four quarters over the four before, less one
opm_ttmOperating profit margin, trailing twelve months%revenue less expenses other than finance costs and depreciation, over revenue, four quarters
net_margin_ttmNet margin, trailing twelve months%net profit over revenue, both summed over four quarters
tax_rate_ttmEffective tax rate, trailing twelve months%income tax over pre-tax income, four quarters
roe_ttmReturn on equity%net profit of the last four quarters over shareholders' equity at the latest balance sheet
debt_to_equityDebt to equityxborrowings over shareholders' equity at the latest quarter end, both from the same balance sheet, on the basis the company filed and named beside the figure (US); as the company states it in its result statement (India)
revenue_fyRevenue, latest fiscal year₹ croreas filed for the latest fiscal year
net_income_fyNet profit, latest fiscal year₹ croreas filed for the latest fiscal year
revenue_cagr_3yRevenue growth, three years compounded%latest fiscal year over three years earlier, annualised
profit_cagr_3yNet profit growth, three years compounded%latest fiscal year over three years earlier, annualised
revenue_cagr_5yRevenue growth, five years compounded%latest fiscal year over five years earlier, annualised
profit_cagr_5yNet profit growth, five years compounded%latest fiscal year over five years earlier, annualised
revenue_cagr_10yRevenue growth, ten years compounded%latest fiscal year over ten years earlier, annualised
profit_cagr_10yNet profit growth, ten years compounded%latest fiscal year over ten years earlier, annualised
roe_fyReturn on equity, latest fiscal year%net profit of the latest fiscal year over shareholders' equity at its end
roe_avg_3yReturn on equity, three-year average%the average of the last three fiscal years' return on equity
opm_fyOperating profit margin, latest fiscal year%revenue less expenses other than finance costs and depreciation, over revenue
net_debt_to_equityNet borrowings to equityxborrowings less cash and bank balances, over owners' equity, at the latest balance sheet
borrowingsBorrowings₹ crorecurrent plus non-current borrowings at the latest balance sheet
cash_and_bankCash and bank balances₹ croreat the latest balance sheet
equity_ownersOwners' equity₹ croreequity attributable to owners of the parent at the latest balance sheet
fcf_fyFree cash flow, latest fiscal year₹ crorecash from operations less purchase of fixed assets, from the year's cash flow statement
dividend_payout_fyDividend payout, latest fiscal year%dividends paid over net profit, from the year's cash flow statement
pricePricethe latest daily close (CBOE delayed for the US, NSE for India), adjusted for splits and bonus issues
market_capMarket capitalisation₹ croreprice times shares outstanding (the latest filed count, or the diluted weighted count where a company with several share classes tags no single count; India from the shareholding pattern)
pe_ttmPrice to earningsxprice over the last four quarters' EPS as filed (net income over diluted shares for a quarter whose EPS is not filed), put on the current share count where a split or bonus fell inside them
pbPrice to bookxmarket capitalisation over shareholders' equity at the latest balance sheet
evEnterprise value₹ croremarket capitalisation plus borrowings less cash at the latest balance sheet
ebitda_ttmEBITDA, trailing twelve months₹ croreoperating income plus depreciation and amortisation (US); operating profit plus other income (India), four quarters
ev_ebitdaEV to EBITDAxenterprise value over EBITDA of the last four quarters
dividend_yieldDividend yield%dividends per share of the last twelve months over the price
mcap_salesMarket capitalisation to salesxmarket capitalisation over revenue of the last four quarters
high_52w52-week highthe highest daily close in the last 52 weeks
low_52w52-week lowthe lowest daily close in the last 52 weeks
price_change_1yPrice change, one year%the latest close over the close a year earlier, less one
price_cagr_3yPrice growth, three years compounded%the latest close over the close three years earlier, annualised
price_cagr_5yPrice growth, five years compounded%the latest close over the close five years earlier, annualised
promoterPromoter holding%of the total share count at the latest shareholding pattern
promoter_change_qPromoter holding change on the quarterpointslatest pattern less the one before
promoter_pledgedPromoter holding pledged or encumbered%of the promoters' own holding at the latest pattern
fpiForeign portfolio investors' holding%at the latest shareholding pattern
fpi_change_qFPI holding change on the quarterpointslatest pattern less the one before
mfMutual funds' holding%at the latest shareholding pattern
mf_change_qMutual fund holding change on the quarterpointslatest pattern less the one before
diiDomestic institutions' holding%at the latest shareholding pattern
retail_smallRetail holding up to ₹2 lakh%individual holders with nominal capital up to two lakh rupees, latest pattern
holdersNumber of shareholderscountat the latest shareholding pattern
dividends_12mDividend per share, twelve monthsrupees per share that went ex-dividend in the last twelve months, from the exchange's corporate actions
borrowings_change_1yBorrowings change, one year₹ croreborrowings at the latest year-end balance sheet less the year before
insider_buys_12mInsider market purchases, twelve monthscountopen-market purchases on Form 4 (US) or SEBI Regulation 7 disclosures marked market purchase (India)
insider_sales_12mInsider market sales, twelve monthscountopen-market sales on Form 4 (US) or disclosures marked market sale (India)
pledge_events_12mPromoter pledge events, twelve monthscountpledges, invocations and revocations disclosed to the exchange
deals_12mBulk and block deals, twelve monthscountdeals the exchange reported on the name
announcements_12mAnnouncements, twelve monthscountRegulation 30 announcements to the exchange
contested_resolutions_12mContested resolutions, twelve monthscountresolutions that failed or drew ten percent or more against

Statement lines, India (for ttm, latest, fy, yoy, avg, cagr)

LineUnit
revenueINR crore
other_incomeINR crore
total_incomeINR crore
materialsINR crore
stock_in_tradeINR crore
inventory_changeINR crore
employeeINR crore
finance_costsINR crore
daINR crore
other_expensesINR crore
total_expensesINR crore
pbt_before_exceptionalINR crore
exceptionalINR crore
pbtINR crore
current_taxINR crore
deferred_taxINR crore
taxINR crore
net_incomeINR crore
pat_ownersINR crore
ociINR crore
total_comprehensiveINR crore
epsINR per share
eps_basicINR per share
eps_dilutedINR per share
interest_earnedINR crore
interest_expendedINR crore
provisionsINR crore
gross_npa%
net_npa%
car%
debt_equityx
dscrx
iscrx
revenue_yoy%
net_income_yoy%
operating_profitINR crore, derived
opm%, derived
tax_rate%, derived

A line a company does not file is empty, and a formula over it shows n/a. Nothing on this page is a valuation; it names arithmetic.