Metalens is a planar optical component that uses nanostructures with a thickness on the order of the wavelength to manipulate the wavefront of the incident light. A key problem, especially in color imaging and display applications, is the correction of chromatic aberration, which is an inherent effect caused by the dispersion of periodic lattices and resonance modes. However, the current achromatic metalenses either use the PB phase method that is only valid for circularly polarized light or nanostructures with complex cross sections that are difficult to manufacture. Here, we designed a broadband achromatic metalens for linearly polarized light from 450 to 800 nm. Rectangular titanium dioxide nanofins of various lengths and widths were applied to modulate the phase and dispersion of the incident light. The metalens can fulfill three target phases simultaneously by using an optimization method. The designed metalens has a stable focus from 450 to 800 nm with an average focusing efficiency of 64%. It can be potentially applied in microscopes, lithography machines, sensors, and displays.