It's a lens thing and is normally about 2 stops down from the maximum aperture, so simply multiply the maximum aperture by two (1.4 x 1.4). This is a rule of thumb only - you'll need to experiment with your lenses to find the sweet spot for each.
This doesn't mean that you should shoot landscapes at f5.6 with an f2.8 lens though!
As you go above (say) f16, diffraction comes into play and can become noticeable above (say) f22.