Silicon-rich oxide films with controllable optical constants and properties are deposited by the reactive magnetron sputtering method on a Si target. The O/Si atomic ratio x of SiOx is tuned from 0.12 to 1.84 by adjusting the oxygen flow rate, which is found to be a more effective way to obtain SiOx