A new method is proposed for computing the off-center ratios (OCR''s) in three-dimensional dose calculations. For an open field, the OCR at a point is computed as the product of the primary OCR (POCR) and the boundary factors (BF''s). The POCR describes the beam profile for an infinite field, that is, without the effect of the collimators. It is defined as the ratio of the dose at a point off the central ray to the dose at the point on the central ray at the same depth for an infinite field. The POCR is a function of radial distance from the beam central ray and depth. The BF describes the shape of the beam in the neighborhood of the field boundary defined by the collimators. It is defined as the ratio of the OCR at a point for finite field to the OCR at the same point for an infinite field. The BF is a function of distance from the field boundary, depth, and field size. For a wedged field, we assume that the boundary factors remain the same as for open fields but the POCR''s are altered. The changes in beam profiles are described by a factor called the wedge profile factor (WPF), defined as the ratio of the dose at a point for the largest wedged field to the dose at the same point for an open field of the same field size. The WPF is a function of lateral distance from the beam central plane and depth. Calculated OCR''s using this new method are in agreement with the measured data along both the transverse and the diagonal directions of the field.