Once the use of coffee grounds in vegetable gardens began being studied, coffee grounds were shown to have 1.45 percent nitrogen and to contain calcium, magnesium and other trace minerals not often found in other organic fertilizers, according to Cheap Vegetable Gardener.