A stud finder and template system are provided. The system has a template, and a stud finder. The template aligns with a corner of a window frame and has multiple evenly spaced holes. The stud finder has a housing, a handle, and a pin. A method of determining a location for a curtain bracket with the stud finder and template system is also provided. The template is positioned against a window frame. The stud finder is positioned against a hole in the template. The stud finder handle is depressed. A stud finder for use with a template is also provided. The stud finder has a front housing portion, a rear housing portion, an actuator handle, a pin, and a pin return spring.