The net reaction of photosynthesis is :
From this reaction, it is clear that to form one molecule of glucose, six molecules of carbon dioxide are required.
Products of light reaction required in dark reactions to form one molecule of glucose are 12 molecules of NADPH and 18 molecules of ATP.
For forming 2 molecules of NADPH from NADP+, 2 molecules of water are required so that the demand of 4 electrons and protons can be satisfied.
Two molecules of water split to form a molecule of oxygen and the respective number of electrons and hydrogen ions are also formed.
Now for producing 12 molecules of NADPH, a total of 12 molecules of water are required.