A optimal design with whole structure parameters and its program are carried out. A reasonable model is established. Using the method a optimal design with whole structure parameters by original parameters of American P&H2300xp excavator was calculated. The size,carried out by the method,approximates to the size of P&H2300xp excavator very well.