IF(UnitPrice != UnitPrice + 50, UnitPrice + UnitPrice, null)
Error: Formula result is data type (Number), incompatible with expected data type (true or false).
By Using Validation Rule you can't achive so, go with an workflow field update in select criteria as of your requirement and in field update select 'Use a formula to set the new value' give value UnitPrice + 50
the purpose of a validation rule is to put in restrictions to ensure data sanity. If you want to automate the process (which seems to be the case here), you should consider check Workflow or Process builder.
UnitPrice != UnitPrice + 50
is alwaystrue
; Why you added this? You can directly add code likeUnitPrice + UnitPrice
right?