Are they offering to buy it from you or just claim that it belongs to them because you are an employee.
I don't have any answers, but these questions are important.
Do you want cash and/or stock for the sale? Or, do you want a %age of future royalties of the sale (that might tricky if they want to incorporate it into a bigger product). (Or a combination of both cash/stock and %age)
Do you want to remain involved in the project, or even moved into the team that would continue to work on this? If so you should get that contractually agreed as part of the sale.
How much do you feel the project is work, and separately, how much has the company indicated they are willing to spend? If it is more than, say, $20k I would go and see a lawyer to draw up the contractual issues. Less then $20k, you can probably do this on your own given the amount is small. You could also incentivize the lawyer to negotiate on your behalf in return for a %age of the sale - particularly worthwhile if you are not a good negotiator. It's also a 3rd party, so none of the mind games that could be used against you by negotiating with your own boss/boss's boss/etc comes into play.
You might be wise to incorporate the project into a company, transfer the IP to the company and then sell them the company.
You should also review your code to make sure you are not using any OS code that has an incompatible license with selling the code.
Perhaps you could provide more answers and people could advise you better.
1. if you are developing something, even tough as side project on your offtime, it is usually own by the company you work for (it will be on your employment contract most of the time)
2. On the other hand, if you think you can make money on your project, and based on what i heard in_California
http://en.wikipedia.org/wiki/Non-compete_clause#Exceptions_-...
Non-compete agreements are automatically void as a matter of law in California, except for a small set of specific situations expressly authorized by statute.
3. but the company is going to argue that you get the idea of developing the side project based on your current project
4. so at the end its a matter of getting what you want from the company vs. making the situation into a terrible one.
You can ask for promotion with more money, or options and even run the project as a stake holder.
that all depends on how you and your company react to each other.
Are they trying to force you to give them your home-made/side project as they believe they are entitled to the software due to your employment? Or, are they interesting in purchasing the product?
Happy ending: My friend and his colleagues eventually got their money in arbitration.
If they are a small company, they probably would not be able to afford a large cash deal, and would probably try to sell you with royalties rather than a big cash payment.
A medium sized company, a nice chunk of cash and small royalties if any.
And a large company - it's an all cash deal.
I would go for a lump sum cash payment if you can take it, and if you can add royalties on top, more power to you. But again like previously stated, that can be a fishy area.
You are in an employee relationship, so you will never be able to audit books, or verify things that a normal founder would be able to easy reference check.
Get as much UPFRONT cash as you can. Consider royalties as a "bonus".
My 2 cents.
Now the details:
http://en.wikipedia.org/wiki/Work_for_hire
You should read your contract with them. As a rule of thumb, if you are in an "innovative" job, that is you were hired to invent, than they might have a claim. Nevertheless, if you want to keep the job you will have to settle, but they don't know it? or do they? I don't know the details... Can the project run at all w/o you? Are you essential to maintaining it? You can negotiate anything. Cash, future share of an exit/profits etc. Look at their demand as a starting point of the negotiations.
Licensing: You could license it and then get a flat fee per license sold. This gets around the problem that someone mentioned about getting a % of revenue and then having the company bundle the product. Also, then you should sign you to a non-compete, which they should pay you for, so that you don't undercut them.
Sell outright: Figure out how much the software is worth, come up with a revenue model and then sell it for 3x sales, or something like that.
we are in webapp development, so basically everything related to that belongs to the company.
now, one of the guys did a really cool tool in his freetime and showed it to us a couple of weeks later.
my first question to him was: how much do you want for it? even though this really had no connection to any of the things we did at the time, not even the plans we had for the future.
still, we agreed on the price and he got paid out immediately.
exactly one month later a client came with somewhat similar needs for his website, so we sold it without any update.
since the the sales price was quite above the aquisition cost, and we had to do no work on it, the guy got a compensation later to become 50/50 with the company in that subject.
me buying stuff from co-workers happened many times, i think it's great when a company has an offer or an opportunity for you, other than your regular job.
it might not change a thing during workdays, though. :)
anyway, i suggest you go for it, try to get best offer you can get, but if you name the price make sure you don't look like a fool by settling in a fraction of your first offer, so price it right!
we'll try to help you if you ask :)
You don't "give" it to them... They're out of order if that's what they expect you to do.