how to calculate hash rate of your rig?
This website allows you to select your GPU / ASIC / etc, and it will tell you the expected hashrate of that hardware for different algorithms.

I can offer no guarantees about the validity of the data they provide though, in general the best way to figure out your hashrate would be to actually run the hardware and see what happens.