The invention relates to a method for weighting shovel material of an excavator, which belongs to a weighting method for weighting shovel material of a large-scale excavator. The invention mainly solves the technical difficulty that current excavators can not weight shovel material and count excavating yield. The technical proposal is that the weighting method of shovel material of a excavator comprises following steps, first, inputting L1, theta value and mg in a programmable logic controller (PLC), second, reading a pulse number x of a lifting encoder, a pulse number y of a driving encoder, a lifting motor torque TH of a lifting inverter and a driving motor torque TC of a pushing inverter through the PLC, third, calculating a lifting stroke and a pushing stroke, fourth, calculating an angle alpha and an angle gamma, fifth, calculating lifting power which is converted to an armored rope and pushing power which is converted to a pushing rod, sixth, calculating the weight of shovel and material, seventh, obtaining the weight of the material through reducing self-weight of the shovel from the weight of the shovel and the material.