According to physics and optics, assuming your optics are perfect, a lower f-ratio (faster lens) is ALWAYS sharper. That also means that with any given lens, the more you open it up, the sharper it is. The reason for this is because larger apertures can resolve finer details.
But that is theory. Welcome to reality. The "imperfections" of the optics usually degrade the fastest stop or 2 (or 3) of your lens so that most lenses are sharpest across the board somewhere around 1-2 stops below max. But if you're using pro lenses that are extremely sharp at f/2.8 or f/4, it's very possible the optics are out-resolving your sensor. If that's the case, then everything from that sharpest point to the limits of your sensor will appear equally sharp to you. The more you stop down a lens, the worse the sharpness gets because of diffraction. So depending on the pixel size of your sensor, the diffraction limit is reached somewhere around f/8 plus or minus a stop, hence everyone's answer of f/8 or f/11 being the sharpest. Just wanted to give a larger piece of the answer why.
Here is a great page on diffraction:
Diffraction Limited Photography: Pixel Size, Aperture and Airy Disks