What maths do you need for quant finance? A guide by task and role
The main mathematical foundations for quant finance are algebra, calculus, linear algebra, probability, statistics, optimisation and numerical methods. Later priorities depend on the work: empirical research emphasises inference and time series; derivatives pricing adds stochastic processes and calculus; portfolio work uses covariance and constrained optimisation. You can start small projects before mastering every advanced topic.
A useful test is whether you can connect a mathematical object to a financial question. What does a covariance matrix describe? What is uncertain in a Monte Carlo estimate? Which sensitivity is a derivative measuring? A familiar formula is less useful if you cannot explain the quantity it produces.

The mathematical toolkit at a glance
| Subject | Learn to do | A financial use |
|---|---|---|
| Algebra, functions and logs | Rearrange equations and track units | Returns, discount factors and growth |
| Calculus | Differentiate, integrate and approximate locally | Sensitivities, accumulated cash flows and densities |
| Linear algebra | Work with vectors, matrices and linear systems | Portfolios, regression and factor exposure |
| Probability | Model uncertainty and condition on information | Random payoffs, forecasts and stochastic models |
| Statistics | Estimate, compare and quantify uncertainty | Research evidence and risk estimation |
| Optimisation | Define an objective and constraints | Allocation, calibration and execution |
| Numerical methods | Approximate and diagnose error | Pricing, root finding and simulation |
| Stochastic processes and calculus | Model random evolution through time | Continuous-time derivatives models |
These subjects interact. Estimating a covariance matrix involves statistics; using it in a portfolio calculation involves linear algebra; selecting weights can involve optimisation. Understanding all three prevents the optimiser's answer from seeming more certain than its inputs.
1. Algebra, functions and logarithms
Begin with percentages, equations, powers, exponentials, logarithms and function notation. Track the units of each quantity. An annual rate, a daily return and an amount of cash cannot be substituted for each other because their numerical values look similar.
For simple returns , wealth with no external cash flows evolves as:
Log returns make this multiplicative relationship additive when prices are positive. That is a mathematical convenience, not permission to ignore the difference between a log return and a simple return in reporting.
2. Calculus: change and local approximation
Differentiation measures local sensitivity. If a model's option value is , its delta with respect to the underlying price is under the stated inputs. A small move can be approximated by:
The approximation is local. A large move can make curvature important. A sensitivity calculated while holding volatility fixed also need not describe a market move in which volatility changes.
Integration connects densities with probabilities and averages, and appears in valuation and accumulated quantities. Multivariable calculus becomes useful when the result depends on several inputs.
3. Linear algebra: portfolios and dependence
A portfolio's weights form a vector. Its estimated return relationships can be represented by a covariance matrix. For weights and covariance matrix , model variance is:
That compact expression contains an economically important idea: dependence changes aggregate risk. Adding assets does not guarantee a large diversification benefit.
Worked example: two equally volatile assets
Take two assets with annual model volatility 20% each, weights of 50% each and correlation . Assume the covariance model is valid for the horizon and ignore leverage and costs. Then:
With zero correlation, model volatility is approximately 14.14%. With correlation 0.5, it is approximately 17.32%. With correlation 1, it is 20%: splitting the capital does not reduce volatility in this example.

from math import sqrt
asset_vol = 0.20
for correlation in (0.0, 0.5, 1.0):
variance = 0.5 * asset_vol**2 * (1.0 + correlation)
print(f"{correlation:.1f}: {100.0 * sqrt(variance):.2f}%")
# 0.0: 14.14%
# 0.5: 17.32%
# 1.0: 20.00%4. Probability: information and uncertainty
Learn random variables, distributions, expectation, variance, independence and conditioning. A probability statement depends on both the model and the information being used.
For example, knowing that at least one of two fair coin flips is heads differs from knowing that the first flip is heads. The possible outcomes remaining after the observation differ. The same discipline matters when you condition a financial forecast on what was actually observable.
Where martingales fit
A martingale is an integrable stochastic process whose conditional expected future value equals its current value, relative to a specified information set and probability measure. The information and measure are part of the definition.
In suitable no-arbitrage pricing models, discounted tradable prices are modelled as martingales under a pricing measure. This does not say an actual stock price has zero expected growth under your real-world forecasting model. It also does not endorse the similarly named doubling betting strategy.
5. Statistics: evidence and estimation error
Statistics helps you infer from a finite sample. Learn sampling variation, estimation, confidence intervals, hypothesis testing, regression and validation. Then investigate what changes when observations are dependent or the model was selected after many attempts.
For independent observations with a common finite variance, the standard error of a sample mean scales as . Multiplying sample size by four halves this standard error. That relationship is useful for simulation, but financial time-series dependence can invalidate a naive independent-observation calculation.

6. Optimisation and numerical methods
Optimisation begins with an objective and constraints. “Find the best portfolio” is incomplete until you say what best means, what estimates you use, and what positions are permitted. A mathematically optimal solution can be fragile if the inputs are uncertain.
Numerical methods introduce approximations. Learn finite differences, root finding, integration, simulation and convergence checks. Distinguish sampling error, discretisation error, input error and model error; increasing the sample size addresses only some of these.
7. Stochastic calculus: when continuous time matters
Brownian motion, stochastic differential equations and Itô's lemma are important in many continuous-time derivatives models. Itô's lemma describes how a sufficiently smooth function of an Itô process evolves, including the second-order contribution associated with quadratic variation.
This is advanced material with prerequisites. An intuitive video can help you see why an ordinary chain rule is insufficient, but you still need probability, calculus and a clear stochastic model to use the result correctly.
Prioritise by the task you want to perform
| First direction | Put early effort into | Add when the work requires it |
|---|---|---|
| Empirical research | Probability, statistics, regression, time series | Advanced inference, optimisation and specialised models |
| Trading and execution | Probability, estimation, instruments, market mechanics | Stochastic control or other strategy-specific mathematics |
| Pricing | Calculus, probability, numerical methods, replication | Stochastic calculus and richer models |
| Portfolio and risk | Covariance, inference, optimisation, time series | Tail models, credit models and advanced dependence |
| Development | Algorithms, numerical reliability and relevant domain maths | Deeper mathematics for the models you implement |
The table is a study recommendation. Actual roles can require depth across several rows.
How to check whether you understand enough to move on
For each subject, explain one financial quantity, solve a small example, implement it, and change an assumption. You should be able to identify what breaks.
For linear algebra, change the correlation in the portfolio example. For probability, change the information observed. For numerical methods, change the step size or sample size. For calculus, compare a local approximation with the full function over a larger move.
If the result surprises you, that is a useful place to study. If you cannot say what the output's units are, return to the definition before making the model more complex.
Your next programme
Download the accompanying Python examples
Go deeper with lessons, derivations and worked exercises behind this article.