Tesla valve is a no-moving parts valve. It has many advantages over conventional check-valves in microscale. However, there has been very few literatures discussing its optimization. We present a comprehensive method to optimize the valve. Complete design optimization parameters of the valve are identified for the first time. A method to construct the geometry of the valve is also proposed. Numerical method is used to study steady flow 2-D models of different valves and to derive formulas for optimum geometrical parameters. The optimum angle alpha and the optimum straight segment L are inversely proportional and proportional to the Reynolds number, respectively. This work allows systematic designing of Tesla valves. Depending on the required flow range, an optimum design can be proposed.