A comprehensive economic analysis was developed for wide range of salinities. Nonlinear optimization ensures that the results are general. A lower bound of the levelized cost of electricity (LCOE) was calculated. The lower bound LCOE identifies operating conditions which are not economically viable. Pressure-retarded osmosis is potentially viable only with extremely high draw salinities (>18%).