If your interest was merely trivial, a simple Google search would have turned up the only two values (0.49g, CO2 produced by fermentation of 1g sugar; and 1.977g/L, density of CO2 @STP) needed to generate precisely the formula you seem to want. If, however, your interest is in applying that information, in the context of brewing, toward achieving the end of properly and predictably carbonating beer, you might consider that you have received replies from several individuals, each possessing at least 2 to 3 decades of brewing experience, who are indicating to you that you are asking the wrong question. We come here, to a forum, a venue for friendly exchange of information and furtherance of learning, eager to assist each other in improving their own brewing knowledge and techniques. We would be glad to help you achieve your goals, and to learn what you have to offer, should you choose to continue as a member of this community.