This is only because most recipes are incredibly imprecise. Chefsteps have gram measurements for almost everything, baking or not, and have a scaling tool built into their recipe view. It's incredibly useful.
I think any recipe for roasted vegetables has to be by volume of the chop/dice fwiw. There's lots of ways to chop carrots into 20g chunks, but they won't all cook well or evenly, so a 1/4" dice is what you'd call for (even if you call for 600g of carrots)
(I guess this would also apply to baking anyway.)