In case of methanoic acid the carbon atom joined to the carboxyl group is attached to only hydrogen atoms which are not able to increase the electron density.
HCOOH

But in case of ethanoic acid we have a methyl group attached to the carbon of carboxyl group , which is electron releasing group and it increases the electron density and thus decrease the acidity.
CH3COOH

Help us to serve you better.
Make a one-time donation
Make a monthly donation
Make a yearly donation
Choose an amount
Or enter a custom amount
Your contribution is appreciated.
Your contribution is appreciated.
Your contribution is appreciated.
DonateDonate monthlyDonate yearly