Abstract:The article introducesd a new way to calculate rock's indentation hardness and plastic coefficient based on the data such as stress and displacement getting from traditional indentation hardness instrument. The procedure is developed in Visual Basic 6.0. It is more accurate and easy to use compared with manual calculation method.