I construct and estimate an equilibrium search model with two-sided heterogeneity and on-the-job-search. Both \u85rms and workers are heterogenous in a productivity parameter, and solve their respective optimization problems in an environment with undirected search. Market equilibrium is achieved by the entry and exit of \u85rms run by pro t maximizing entrepreneurs. The structure of the model allows for a wide-range of wage-setting mechanisms; three of which, an exogenous output-sharing rule, a surplus-splitting rule and a Bertrand competition mechanism, the paper deals with explictly. The paper delivers a theory of equilibrium wage dispersion and labor turnover, and relates these to observable and unobservable worker and \u85rm characteri...