COD/NO3 ratio in denitrification is a smart way to ensure your bacteria gets a right dose of electron donor (i.e COD) for reducing your nitrates (electron acceptor). You must calculate this ratio from your initial concentrations i.e how much COD is available for reduction of say X mg of nitrates.