In the present study, numerical analysis algorithm for the hull form optimization was taken into account using optimization algorithm. In this algorithm the sequential quadratic programming method was applied as an optimizer and the potential-based panel method was adopted to get the wave resistance coefficient as the objective function. The hull form was modified using the B-spline surface modeling technique during the whole optimization process. The developed numerical analysis algorithm was applied to a passenger ship and the optimized ship were compared with the original ship.