How Do You Calculate Portfolio Variance?

How Do You Calculate Portfolio Variance? Portfolio variance is calculated by multiplying the squared weight of each security by its corresponding variance and adding twice the weighted average weight multiplied by the covariance of all individual security pairs. How do you calculate portfolio? Add the value of all your investments — including the tech investments