Forum:Anybody know how to calculate dps?

Just wondering how to calculate dps. I think it's just fire rate x damage but I'm not sure. If anybody has a different/better way to calculate it please post.