Benzoic acid can act as both weak electron donating and electron withdrawing group. As carboxylate has two oxygen atom benzene act as weak electron donating group. Therefore acidity of benzoic acid is weaker than formic acid. The pka value of formic acid is 3.77 while that of benzoic acid is 4.202