In order to get a better insight into the relationship between molecular structure and photovoltaic performance, six monoazo dye molecules containing benzoic and cinnamic acid moieties were synthesized and their photovoltaic properties were studied. Three of them have not been previously used in solar cells. Spectroscopic measurements of the investigated compounds coupled with theoretical calculations were performed. Short-circuit current density, open-circuit voltage, and fill-factor were determined. It was found that a larger amount of short-circuit current density will be generated if the HOMO-LUMO energy gap is lower, determined by the stability of the molecule and the electronic effect of the donor moiety. Among both series of synthesized dye molecules, the highest obtained values of short-circuit current density were achieved with (2-hydroxynaphthalene-1-ylazo)benzoic acid and (2-hydroxynaphthalene-1-ylazo)cinnamic acid, and thus they were regarded as promising candidates for application in dye-sensitized solar cells.