# How to calculate beta for a portfolio

To calculate the beta of a portfolio, you need to first calculate the beta of each stock in the portfolio. Then you take the weighted average of betas of all stocks to calculate the beta of the portfolio.

Let’s say a portfolio has three stocks A, B and C, with portfolio weights as 10%, 30%, and 60% respectively. The beta of these three stocks is 1.1, 1.3 and 0.8.

The the portfolio beta will be:

Portfolio beta = 1.1*10%+1.3*30%+0.8*60% = 0.98

## Data Science in Finance: 9-Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

### What's Included:

- Getting Started with R
- R Programming for Data Science
- Data Visualization with R
- Financial Time Series Analysis with R
- Quantitative Trading Strategies with R
- Derivatives with R
- Credit Risk Modelling With R
- Python for Data Science
- Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)## Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.