An earlier intrinsic activation and a later intrinsic activation of a right ventricle and a left ventricle are determined. This information is used for computing a biventricular pacing interval as a function of an interval from a pacing energy delivered to a ventricle corresponding to the later intrinsic activation and a depolarization sensed in a ventricle having earlier intrinsic activation, the depolarization evoked in response to the pacing energy.