In this paper, we propose an auto-focusing algorithm which extracts a depth parameter by analyzing a selected part of a hologram, and we use experimental results to show that the algorithm is practical. First, we record a complex hologram using Optical Scanning Holography. Next we select some part of hologram and extract depth information through Gaussian low pass filtering, synthesizing a real-only hologram, power fringe-adjusted filtering and inverting to a new frequency axis. Finally, we reconstruct the hologram automatically using the extracted depth location.