The Kalman filter algorithm is very important as a recursive algorithm method to optimize sensor output from physical parameter measurement systems, especially physics practicum demonstration systems. One of the distance parameter measurement demonstration systems used in Hooke’s law demonstration system is applied in physics practicum, the system has problems related to fluctuating or unstable sensor output. This research implements the Kalman filter algorithm on the Arduino IDE sketch to reduce noise that appears at the ultrasonic sensor output. The methodology used in this study includes the application of the Kalman filter algorithm to the Arduino IDE sketch with the variable value of the Kalman filter algorithm equation modified with a value of R=10, H=1, and Q=1, and returns the filtered Kalman out value. The Arduino output results are exported to Ms. Excel for further analysis and generate a filtered ultrasonic sensor output signal graph compared without using the Kalman filter. The ultrasonic sensor output noise filtration effectively reduces noise by showing a decrease in the mean squared error (MSE) value and obtaining the best performance of up to 89.23 %. The accuracy of Kalman filter filtration results can be seen from the calculation that the spring constant of filtered metal materials is smaller than the conventional measurement spring constant. Accurate and effective results with the implementation of the Kalman filter algorithm can be developed for the variation values of distance parameters and Kalman filter algorithm variables (R, Q, and H) with other value variations, especially variables that produce filtering curves close to straight lines. It was concluded that the Kalman filter algorithm was able to improve the performance of Hooke’s law prop system