18 amps X 230 volts = 4140 watts, or 4.14kW. 11 cents/kWh X 4.14kW = 45.54c/hour. 6 hours X 45.14c/hour = 273.24c, or $2.73.
Now, it's actually going to cost less than that. The 5HP / 18A rating for the pump is the absolute maximum amount of power it can draw in operation. Depending on the flow rate and pressure, the pump may use considerably less power than that. You'd have to measure the actual current in operation to know for sure. Also, the calculation above doesn't consider "power factor". The watts = volts X amps calculation is always off by a bit in AC circuits with certain types of loads, motors included. It will actually use about 20% less power than the volts X amps calculation would indicate.
So to get a better idea of how much it will really cost to run, measure the current and the voltage in operation. Multiply them, and multiply by 0.8. That will give you a much more accurate value for power consumption.
Now, it's actually going to cost less than that. The 5HP / 18A rating for the pump is the absolute maximum amount of power it can draw in operation. Depending on the flow rate and pressure, the pump may use considerably less power than that. You'd have to measure the actual current in operation to know for sure. Also, the calculation above doesn't consider "power factor". The watts = volts X amps calculation is always off by a bit in AC circuits with certain types of loads, motors included. It will actually use about 20% less power than the volts X amps calculation would indicate.
So to get a better idea of how much it will really cost to run, measure the current and the voltage in operation. Multiply them, and multiply by 0.8. That will give you a much more accurate value for power consumption.