Abstract: We extend the well-known trace formula for Hill's equation to general one-dimensional Schrödinger operators. The new function , which we introduce, is used to study absolutely continuous spectrum and inverse problems.