The formula remains the same for all formats. However, what's considered a good average may differ between Test cricket, ODIs, and T20s.