<p>You can calculate your transaction size before sending the transaction. Here's some more info on that:</p>

<p><a href="https://bitcoin.stackexchange.com/questions/1195/how-to-calculate-transaction-size-before-sending/3011#3011">How to calculate transaction size before sending</a></p>

<p>A single transaction isn't limited to how many outputs it has, rather, there are some limits to how big a block is. You can read more here:</p>

<p><a href="https://bitcoin.stackexchange.com/questions/5341/how-many-different-destinations-can-a-single-transaction-have/5343#5343">How many different destinations can a single transaction have?</a></p>

<p>EDIT:
After calculating the size, you can further calculate fees by using this method (it takes into account some code in <code>main.h</code>): </p>

<p><a href="https://bitcoin.stackexchange.com/questions/3400/what-is-the-exact-formula-for-calculating-transaction-fees">What is the exact formula for calculating transaction fees?</a></p>

CC BY-SA 3.0
2014-03-02T08:11:15.463Z
That is interesting. I would guess the fees are then added based on "recommended" values and the size, right?
Karel Bílek
CC BY-SA 3.0
2014-03-02T19:39:02.470Z
I am accepting this answer, but if someone answers the part about fees I will be glad.
Karel Bílek
CC BY-SA 3.0
2014-03-03T04:47:00.997Z
Sorry, I forgot to link this thread: http://bitcoin.stackexchange.com/questions/3400/what-is-the-exact-formula-for-calculating-transaction-fees
bvpx
CC BY-SA 3.0
2014-03-01T06:53:44.937Z
2014-03-03T04:48:39.737Z
2017-04-13T12:47:33.743Z
bvpx
<p>I have two questions, both about <code>sendmany</code>.</p>

<p>First, is there any limit on how much transactions can I send with sendmany? (Apart from bash's limit with maximal parameter length.) Is sending about 500 transactions OK?</p>

<p>Second, what will be the fees used when I send a lot of transactions (and thus, probably creating a big transaction)?</p>

CC BY-SA 3.0
2014-03-01T06:54:41.933Z
The upvote function is there for this very reason. Please don't use the answer field for this type of comment.
bvpx
CC BY-SA 3.0
2014-03-01T09:26:50.033Z
This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](http://bitcoin.stackexchange.com/questions/ask). You can also [add a bounty](http://bitcoin.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question once you have enough [reputation](http://bitcoin.stackexchange.com/help/whats-reputation).
Murch
<bitcoind><api>
Fees for bitcoind sendmany, limits for number of end addresses
Karel Bílek
# Fees for bitcoind sendmany, limits for number of end addresses

(Asked by: username_0 on 2014-02-17)

I have two questions, both about `sendmany`.

First, is there any limit on how much transactions can I send with sendmany? (Apart from bash's limit with maximal parameter length.) Is sending about 500 transactions OK?

Second, what will be the fees used when I send a lot of transactions (and thus, probably creating a big transaction)?

**Tags:** bitcoind, api

> **Comments:**
> **username_1**: The upvote function is there for this very reason. Please don't use the answer field for this type of comment.  
> **username_2**: This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](http://bitcoin.stackexchange.com/questions/ask). You can also [add a bounty](http://bitcoin.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question once you have enough [reputation](http://bitcoin.stackexchange.com/help/whats-reputation).  

---

## 1 answers

### Answer by username_1 on 2014-03-01. Score: 4 | Accepted answer

You can calculate your transaction size before sending the transaction. Here's some more info on that:

[How to calculate transaction size before sending](https://bitcoin.stackexchange.com/questions/1195/how-to-calculate-transaction-size-before-sending/3011#3011)

A single transaction isn't limited to how many outputs it has, rather, there are some limits to how big a block is. You can read more here:

[How many different destinations can a single transaction have?](https://bitcoin.stackexchange.com/questions/5341/how-many-different-destinations-can-a-single-transaction-have/5343#5343)

EDIT:
After calculating the size, you can further calculate fees by using this method (it takes into account some code in `main.h`):

[What is the exact formula for calculating transaction fees?](https://bitcoin.stackexchange.com/questions/3400/what-is-the-exact-formula-for-calculating-transaction-fees)

> **Comments:**
> **username_0**: That is interesting. I would guess the fees are then added based on "recommended" values and the size, right?  
> **username_0**: I am accepting this answer, but if someone answers the part about fees I will be glad.  
> **username_1**: Sorry, I forgot to link this thread: http://bitcoin.stackexchange.com/questions/3400/what-is-the-exact-formula-for-calculating-transaction-fees  

---

