I've tried doing a search of my own, but I'm not coming up with the answer on here.

My question is how do you determine the correct seat height for you? My knees are slightly bent when the pedals are close to the ground. Should my legs me straighter? Do I simply experiment until it feels right? I feel okay now when riding, but what to have as good a form as possible.

Thanks!