How is social class calculated?

How is social class calculated?