Hydraulic cylinders are hydraulic system parts widely used in various industries such as construction machinery, machine tools, robots, automobiles, and automation systems. The maximum capacity of vane pumps used in machine tools is 70bar, but the actual operating pressure is less than 50bar. The allowable pressure of a commercial hydraulic cylinder is 140 - 210 bar, so it is heavy and uneconomical because it uses thick and strong materials. In this paper, we intend to develop a small and lightweight hydraulic cylinder suitable for the allowable pressure of 50bar or less so that it can be used in the hydraulic system field. In order to develop a compact hydraulic cylinder, flow analysis, and structural analysis were conducted under piston forward and backward conditions. The analyzed flow rate value was calculated to be suitable for the operation of the hydraulic cylinder. As a result of comparing the stress calculated under the forward/backward condition of the piston with the yield stress of the material, the safety factor was calculated to be more than 2.5.