Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Calculates locally in your browser · response-surface optimisation
    DOE / optimisation

    Response surface optimisation

    Once a screening design has found the important factors, the next question is where the response peaks. A central composite design puts five levels on two factors, a quadratic is fitted by least squares, and the canonical analysis says whether the stationary point is a peak, a bowl or a saddle.

    NatureMaximumDF5Ascent(0.86, 0.51)
    Stationary point
    (1.00, 0.88)
    Inside the design region
    Predicted response
    65.2
    Maximum of the fitted surface
    Lack of fit
    p 0.225
    F 3.60 on 3 and 2 df
    R²
    0.996
    Adjusted 0.992 · s 0.48
    Central composite design
    Four factorial points, four axial points and the centre, with the fitted value and residual.
    11 runs
    Central composite design
    RunTypex₁x₂ResponseFittedResidual
    1factorial-1.00-1.0051.751.10.53
    2factorial-1.001.0053.953.60.32
    3factorial1.00-1.0057.057.1-0.09
    4factorial1.001.0064.865.1-0.30
    5axial-1.410.0049.550.0-0.56
    6axial1.410.0062.762.40.32
    7axial0.00-1.4153.353.5-0.27
    8axial0.001.4161.061.00.03
    9centre0.000.0062.161.80.29
    10centre0.000.0061.561.8-0.31
    11centre0.000.0061.861.80.01

    Coded units: ±1 is the factorial level, ±α the axial level, 0 the centre.

    Inspect the model
    Choose a quick result view, a scaled comparison, or the complete diagnostic set.
    Fitted response surface
    Rows run from +1.6 to −1.6 on x₂; columns from −1.6 to +1.6 on x₁.
    Fitted response surface-1.60-1.60-1.20-1.20-0.80-0.80-0.40-0.400.000.000.400.400.800.801.201.201.601.601.601.601.201.200.800.800.400.400.000.00-0.40-0.40-0.80-0.80-1.20-1.20-1.60-1.6042.35648.16153.06557.06860.16962.36963.66764.06463.55944.77150.35255.03158.80961.68563.66064.73364.90564.17546.45451.81056.26459.81762.46864.21865.06665.01364.05847.40452.53556.76460.09262.51964.04364.66764.38863.20947.62152.52756.53259.63561.83663.13663.53563.03161.62747.10651.78755.56758.44560.42161.49661.67060.94259.31245.85850.31453.86956.52258.27459.12459.07258.11956.26543.87848.10951.43953.86755.39356.01955.74254.56452.48541.16545.17148.27650.47951.78052.18151.67950.27647.972max 65.06653.115min 41.165
    Coefficient t statistics
    Terms beyond about ±2 are doing real work; the rest are inside the noise.
    Coefficient t statistics-17.15-7.122.9112.9322.9632.9925.83x₁x₁15.47x₂x₂5.87x₁x₂x₁x₂-13.97x₁²x₁²-11.35x₂²x₂²t
    Canonical equations
    The exact relationships implemented by this engine.

    y = b₀ + b₁x₁ + b₂x₂ + b₁₂x₁x₂ + b₁₁x₁² + b₂₂x₂² · Six parameters, fitted by least squares.

    x_s = −½ B⁻¹ b · Where the gradient vanishes.

    λ₁, λ₂ from |B − λI| = 0 · Both negative: a peak. Mixed signs: a saddle.

    F = (SS_lof/df) / (SS_pe/df) · Pure error comes from the centre replicates.

    direction ∝ (b₁, b₂) · Where to move before curvature dominates.

    engineering methodology

    A clear path from inputs to results.

    Once screening has found the important factors, the question becomes where the response turns. A central composite design puts five levels on each factor without running the full grid, a quadratic is fitted by least squares, and the canonical analysis says whether the stationary point is a peak, a bowl or a saddle — and whether it sits inside the region you actually tested.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Set the quadratic surface the process follows: linear terms, the interaction and both curvatures.
    2. Choose the number of centre points to set the error degrees of freedom.
    3. Add measurement noise to see how the fit degrades.
    4. Read the stationary point, the predicted response and the nature of the surface.
    5. Check R², the residuals and the t statistics before trusting the optimum.

    The formula

    y=b0+b1x1+b2x2+b12x1x2+b11x12+b22x22  ;  xs=−12B−1by = b_0 + b_1x_1 + b_2x_2 + b_{12}x_1x_2 + b_{11}x_1^2 + b_{22}x_2^2 \;;\; x_s = -\tfrac{1}{2}B^{-1}b

    Reference: Box & Wilson (1951), 'On the Experimental Attainment of Optimum Conditions'; Myers, Montgomery & Anderson-Cook, Response Surface Methodology.

    Worked example

    Two factors, eleven runs, σ = 0.4

    Inputs
    • Surface: 62 + 4.2x₁ + 2.6x₂ + 1.4x₁x₂ − 3.1x₁² − 2.2x₂².
    • Central composite with three centre points, rotatable α = 1.414.
    • Measurement noise σ = 0.4.
    Calculation path
    1. 1

      Eleven runs: four factorial, four axial and three centre.

    2. 2

      The least-squares fit returns b₁ = 4.38, b₂ = 2.62, b₁₂ = 1.41, b₁₁ = −2.82, b₂₂ = −2.29.

    3. 3

      R² is 0.996 and the residual standard deviation is 0.48, close to the noise added.

    4. 4

      Both eigenvalues are negative, so the surface is a peak.

    5. 5

      The stationary point is (1.00, 0.88) in coded units, predicting 65.2 — just inside the design region.

    Result

    11 runs · R² 0.996 · peak at (1.00, 0.88) · predicted 65.2.

    Interpreting the result

    A stationary point inside the region is an optimum; outside it, the fitted surface is still climbing and the next experiment should move in the direction of steepest ascent rather than sit on the design. The t statistics matter more than R²: a high R² with a coefficient t of 0.4 means the surface is being fitted to noise.

    Assumptions & limitations

    • Two factors, one response, a full quadratic model with six parameters.
    • Rotatable central composite design with α = 1.414 and a fixed number of centre points.
    • Responses generated from the surface you set plus seeded noise; the fit is a real least-squares fit to those runs.
    • Ordinary least squares with independent errors of constant variance.

    Frequently asked questions

    Why a central composite design?

    It adds curvature information to a two-level factorial with only four extra axial runs, and at α = 1.414 the prediction variance is constant at a fixed distance from the centre.

    How many centre points?

    Three to five is usual. They give degrees of freedom for pure error and a check on lack of fit.

    What does a saddle mean?

    The surface rises in one direction and falls in another, so there is no single optimum. The practical response is to move along the ridge or re-scope the region.

    What if the stationary point is outside the region?

    Treat it as a direction, not a location. Run a steepest-ascent experiment until the response stops improving, then re-fit.

    Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.