Because the size of carrots differ so much, it's hard to know exactly how many carrots are in a cup. Generally you need one large carrot to make a cup. For baking purposes, if a recipe calls for one grated carrot, a medium carrot is sufficient and should give you anywhere between 3/4 - 1 cup of grated carrot. The exact measurement isn't too critical in this situation.