A new two step on-axis digital holography (DH) is proposed without any assumptions, phase shifting, or complicated optical components. A dual-channel Mach-Zehnder interferometer was employed. Using that setup, the object field can be reconstructed requiring only two step measurements. To eliminate position difference between two charge-coupled device (CCD) cameras, a matched filter algorithm was used. Experimental results are compared to those of the traditional phase shifting technique. The proposed approach can also be applied to single-exposure on-axis DH for real time measurement.