In this paper, by using the way of weight function and the technic of real analysis, a new integral inequality with some parameters and a best constant factor is given, which is a relation to two basic Hilbert-type integral inequalities. The equivalent form and the reverse forms are considered.