How do you calculate the magic formula?

Asked by: Mable Parker  |  Last update: July 30, 2025
Score: 4.3/5 (35 votes)

This is how the two Magic Formula investing ratios are calculated: Return on invested capital (ROIC) = EBIT / (net working capital + net fixed assets). Earnings yield = EBIT / Enterprise value.

How does the magic formula work?

The Magic Formula, as explained by Joel Greenblatt in his book The Little Book that Beats the Market, involves ranking stocks based on two metrics: earnings yield (EBIT/enterprise value) and return on capital (EBIT/invested capital).

What is the magic formula score?

Stockopedia explains Magic Formula Score

An overall ranking for each stock is created by combining the rank of a company's Return on Capital vs the market (its quality) with the rank of its Earnings Yield (its cheapness).

How do you calculate magic numbers?

You can calculate the magic number for your SaaS business by subtracting the last quarter's annual recurring revenue (ARR) from the current quarter's ARR and dividing by your total customer acquisition cost (CAC) (your total sales and marketing spend) from the previous quarter.

What are the criteria for the magic formula?

The Magic Formula Criteria

Greenblatt's magic formula is based on two key criteria: earnings yield and return on capital. The formula aims to identify companies that are both cheap and profitable, with the belief that these stocks have the highest potential for outsized returns.

How To Learn Anything, Anywhere - Elon Musk

18 related questions found

How is the magic formula calculated?

Calculating the Magic Formula

To calculate the Magic Formula score, you separately rank all stocks by EBIT/EV. For example the company with the highest EBIT/Enterprise Value would get a value of 1, the next best 2 and so forth.

What is the magic formula function?

The Magic Formula y(x) typically produces a curve that passes through the origin x = y = 0, reaches a maximum, and subsequently tends to a horizontal asymptote.

What is the rule of 40 and magic number?

The Rule of 40 is like a compass for your business. It helps you chart a course to success. It's a fairly simple equation, combining your company's growth rate and profit margin or cash flow. The magic number you're aiming for is 40.

How to calculate your magic number for retirement?

The retirement calculation:
  1. When you retire, calculate 4% of your total retirement savings; this is what you can draw down during your first year.
  2. The second year, adjust for inflation by adding 3% to your first-year figure. This is your new 4%.
  3. Continue every year by adding 3% more.

What is the magic formula for success?

MAGIC FORMULA OF ATTITUDE

In a nutshell, it is your 'Attitude' which determines success. You can achieve only what you think you can achieve. The attitude towards life – the strength of character of getting up after a fall, dusting yourself and starting afresh once again – determines how successful you become.

What is the magic number sequence?

A magic sequence of length n is a sequence of integers x0… xn−1 between 0 and n−1, such that for all i in 0 to n−1, the number i occurs exactly xi times in the sequence. For instance, 6,2,1,0,0,0,1,0,0,0 is a magic sequence since 0 occurs 6 times in it, 1 occurs twice, etc.

What is the magic number formula for sports?

A team's magic number is how close it is to clinching a playoff berth. The magic number could also be the club's distance from winning the division or securing a wild-card spot. How is a magic number calculated? Games remaining + 1 - (losses by second-place team - losses by first-place team) = magic number.

Is magic formula still working?

A 2022 study of the stock market in Norway found that the magic formula generates risk-adjusted excess returns. Over the sample period (2003-2022) the strategy had a CAGR of 21.56%. However, these returns may not be achievable in real-world conditions due to the impact of transaction costs.

What is the magic formula tested?

Magic formula investing is a successfully back-tested strategy that can increase your chances of outperforming the market. The strategy focuses on screening for companies that fit specific criteria and uses a methodical, unemotional process to manage the portfolio over time.

How is magic number calculated?

To find the magic number in baseball:
  • Take the total number of games, e.g., 162.
  • Subtract the total wins of the first team, e.g., 55.
  • Subtract the losses of the second team, e.g., 57.
  • Add 1 to the result and you have your first team's magic number, i.e., 51.

What is the 40 mindset rule?

In it, Itzler describes how he hired a Navy SEAL to come live with him and his family for a month to teach them the lessons of mental toughness. The 40% rule is simple: When your mind is telling you that you're done, that you're exhausted, that you cannot possibly go any further, you're only actually 40% done.

What is the rule of 78 magic rule number?

For a one year loan, the total number of digits is equal to 78, which explains the term the Rule of 78. For a two year loan, the total sum of the digits would be 300. With the sum of the months calculated, the lender then weights the interest payments in reverse order applying greater weight to the earlier months.

What is the math magic trick?

1. Multiplying by 6. If you multiply 6 by an even number, the answer will end with the same digit. The number in the ten's place will be half of the number in the one's place. This ploy works effortlessly, and students can add it to their collection of maths magic tricks!

How to calculate the magic formula?

This is how the two Magic Formula investing ratios are calculated: Return on invested capital (ROIC) = EBIT / (net working capital + net fixed assets). Earnings yield = EBIT / Enterprise value.

What is the magic number function?

Magic numbers are common in programs across many operating systems. Magic numbers implement strongly typed data and are a form of in-band signaling to the controlling program that reads the data type(s) at program run-time. Many files have such constants that identify the contained data.

What is the magic formula system?

What Is the Magic Investing Formula? Screening stocks using the magic formula method is based on a rankings system. As developed by Greenblatt, this system uses three distinct criteria to rank companies: earnings before interest and taxes (EBIT), earnings per share, and return on capital.