What is the value of an 1864 US 500 dollar bill?

You would need to have your bill inspected by a dealer or appraiser who is familiar with early US paper money. If authentic and in excellent condition it would be worth a significant amount of money. However all forms of 1864 federally-issued $500 bills are extremely rare so the likelihood of having a genuine one is low.